script: door/door_exit_pokecen

code

door_exit_pokecen:
    dummy_set_pos_hero()
    camera_target_dummy()
    player_pos_get(work: 238, work: 239)
    sub_wk(work: 239, 2.0)
    sxy_pos_change("HERO", work: 238, work: 239)
    door_force_anime_end(0.0)
    event_camera_index(96.0)
    event_camera_end_wait()
    time_wait(8.0, work: 246)
    event_camera_index(97.0)
    obj_anime("HERO", "anm_exit_common_down")
    time_wait(8.0, work: 246)
    se_play("S_FI015")
    hit_door_anime(1.0)
    hit_door_anime_wait()
    camera_target_hero()
    end()

1 callers

script_set script invocation
c08r0801 ev_c08r0801_door_exit ifval_jump(work: 239, "EQ", 10.0, "door_exit_pokecen")