script: c09/ev_c09_gymleader_pass

code

ev_c09_gymleader_pass:
    time_wait(30.0, work: 246)
    flag_reset(flag: 440)
    obj_add("C09_GYMLEADER")
    obj_anime("C09_GYMLEADER", "anm_c09_gymleader_01")
    obj_anime_wait()
    talk_keywait("dp_scenario2%192-msg_c09_gymleader_01")
    talk_close()
    obj_anime("HERO", "anm_c09_player_20")
    obj_anime("C09_WOMAN4A", "anm_c09_woman4a_20")
    obj_anime_wait()
    ldval(work: 61, 1.0)
    talkmsg("dp_scenario2%192-msg_c09_gymleader_02_1")
    talkmsg("dp_scenario2%192-msg_c09_gymleader_02_2")
    last_keywait()
    talk_close()
    ret()

2 callers

script_set script invocation
c09 ev_c09_gymleader_talk call("ev_c09_gymleader_pass")
c09 ev_c09_gymleader_pos call("ev_c09_gymleader_pass")