code
common_c07_support_battle:
call("sub_c07_get_support_id")
ldval(work: 239, 674.0)
ldval(work: 240, 675.0)
trainer_multi_btl_set(work: 238, 674.0, 675.0)
trainer_lose_check(work: 246)
ifval_jump(work: 246, "EQ", 0.0, "ev_c07_common_battle_lose")
talk_keywait("dp_scenario2%108-msg_c07_gingam_1_03_1")
talk_keywait("dp_scenario2%108-msg_c07_gingam_1_03_2")
player_pos_get(work: 238, work: 239)
ifval_call(work: 239, "EQ", 595.0, "ev_c07_support_pos_up_01")
ifval_call(work: 239, "EQ", 597.0, "ev_c07_support_pos_down_01")
talk_keywait("dp_scenario2%108-msg_c07_gingam_1_04")
talk_close()
time_wait(15.0, work: 246)
player_pos_get(work: 238, work: 239)
ifval_call(work: 239, "EQ", 595.0, "ev_c07_support_pos_up")
ifval_call(work: 239, "EQ", 597.0, "ev_c07_support_pos_down")
obj_del("C07_GINGAM_1")
talk_keywait("dp_scenario2%108-msg_c07_gingam_2_03")
talk_close()
player_pos_get(work: 238, work: 239)
ifval_call(work: 239, "EQ", 595.0, "ev_c07_support_pos_up_02")
ifval_call(work: 239, "EQ", 597.0, "ev_c07_support_pos_down_02")
obj_del("C07_GINGAM_2")
get_my_sex(work: 238)
ifval_call(work: 238, "EQ", 0.0, "c07_support_male_30")
ifval_call(work: 238, "EQ", 1.0, "c07_support_female_30")
talk_close()
player_pos_get(work: 238, work: 239)
ifval_call(work: 239, "EQ", 595.0, "ev_c07_support_pos_up_03")
ifval_call(work: 239, "EQ", 597.0, "ev_c07_support_pos_down_03")
time_wait(10.0, work: 246)
player_name(0.0)
get_my_sex(work: 238)
ifval_call(work: 238, "EQ", 0.0, "c07_support_male_40")
ifval_call(work: 238, "EQ", 1.0, "c07_support_female_40")
talk_close()
event_camera_index(431.0)
event_camera_end_wait()
time_wait(15.0, work: 246)
obj_anime("C07_SUPPORT_02", "anm_c07_support_70")
obj_anime("HERO", "anm_c07_player_70")
obj_anime_wait()
jump("common_c07_support_end")
end()