script: d26r0104/common_d26r0104_gingaboss_01

code

common_d26r0104_gingaboss_01:
    trainer_btl_set("GINGALBOSS_01", 0.0)
    trainer_lose_check(work: 246)
    ifval_jump(work: 246, "EQ", 0.0, "ev_d26r0104_gingaboss_battle_lose")
    talkmsg("dp_scenario2%83-msg_d26r0104_gingaboss_03_1")
    talkmsg("dp_scenario2%83-msg_d26r0104_gingaboss_03_2")
    talkmsg("dp_scenario2%83-msg_d26r0104_gingaboss_03_3")
    talk_keywait("dp_scenario2%83-msg_d26r0104_gingaboss_03_4")
    ldval(work: 238, 1.0)
    ldval(work: 239, 1.0)
    add_item_chk(work: 238, work: 239, work: 246)
    ifval_call(work: 246, "EQ", 1.0, "ev_d26r0104_item_event_ok")
    talkmsg("dp_scenario2%83-msg_d26r0104_gingaboss_04_1")
    talkmsg("dp_scenario2%83-msg_d26r0104_gingaboss_04_2")
    talk_keywait("dp_scenario2%83-msg_d26r0104_gingaboss_04_3")
    talk_close()
    obj_anime("D26R0104_GINGABOSS", "anm_d26r0104_gingaboss_10")
    obj_anime_wait()
    talkmsg("dp_scenario2%83-msg_d26r0104_gingaboss_05_1")
    talkmsg("dp_scenario2%83-msg_d26r0104_gingaboss_05_2")
    talk_keywait("dp_scenario2%83-msg_d26r0104_gingaboss_05_3")
    talk_close()
    obj_anime("D26R0104_GINGABOSS", "anm_d26r0104_gingaboss_04")
    obj_anime_wait()
    obj_del("D26R0104_GINGABOSS")
    ldval(work: 122, 1.0)
    ldval(work: 249, 10400.0)
    event_end()
    end()

4 callers

script_set script invocation
d26r0104 ev_d26r0104_gingaboss_x1 jump("common_d26r0104_gingaboss_01")
d26r0104 ev_d26r0104_gingaboss_x1 jump("common_d26r0104_gingaboss_01")
d26r0104 ev_d26r0104_gingaboss_x2 jump("common_d26r0104_gingaboss_01")
d26r0104 ev_d26r0104_gingaboss_x2 jump("common_d26r0104_gingaboss_01")