code
ev_c03gym0101_leader:
sys_flag_badge_get(sys_flag: 124, work: 246)
ifval_jump(work: 246, "EQ", 1.0, "pos_c03gym0101_leader_badge_get")
fnote_data_make("FNOTE_ID_GYMBEFORE", 40.0, 0.0, 0.0, 0.0)
talk_obj_start_look_none()
event_start()
black_out("SCR_WIPE_DIV", 3.0)
fade_wait()
obj_pos_change_world("HERO", -5.0, 4.0, 4.5)
sxy_dir_change("HERO", 180.0)
event_camera_index(24.0)
black_in("SCR_WIPE_DIV", 3.0)
fade_wait()
call("ev_block_doc")
obj_anime("C03GYM0101_LEADER", "anm_c03gym0101_leader_01_face01")
obj_anime_wait()
talkmsg("dp_scenario1%84-msg_c03gym0101_leader_01_1")
talk_close()
obj_anime("C03GYM0101_LEADER", "anm_c03gym0101_leader_01_face00")
obj_anime_wait()
time_wait(15.0, work: 246)
talk_keywait("dp_scenario1%84-msg_c03gym0101_leader_01_2", 1.0)
talk_close()
event_camera_index(50.0)
btl_encseq_load("gym01")
trainer_btl_set("LEADER1_01", 0.0)
trainer_lose_check(work: 246)
ifval_jump(work: 246, "EQ", 0.0, "ev_c03gym0101_common_battle_lose")
talk_obj_start()
talkmsg("dp_scenario1%84-msg_c03gym0101_leader_02_1")
talkmsg("dp_scenario1%84-msg_c03gym0101_leader_02_2", 1.0)
talkmsg("dp_scenario1%84-msg_c03gym0101_leader_02_3", 1.0)
talk_keywait("dp_scenario1%84-msg_c03gym0101_leader_02_4", 1.0)
talk_close()
badge_get(0.0)
con_wait_contest_menu()
player_name(0.0)
me_play("M_FI006")
talkmsg("dp_scenario1%84-msg_c03gym0101_leader_03")
me_wait()
trainer_flag_set("TANPAN_11")
trainer_flag_set("TANPAN_12")
sys_flag_badge_set(sys_flag: 124)
add_score("SCORE_ID_GYM_LEADER_WIN")
trainer_flag_set("TANPAN_11")
trainer_flag_set("TANPAN_12")
if_flagon_call(sys_flag: 806, "ev_c03gym0101_stoper_cheak")
ldval(work: 55, 2.0)
fnote_data_make("FNOTE_ID_GYMAFTER", 40.0, "LEADER1_01", 0.0, 0.0)
set_warp_id(41.0)
set_teleport_id(38.0, 0.0)
ldval(work: 53, 3.0)
ldval(work: 249, 3200.0)
flag_reset(flag: 322)
flag_reset(flag: 356)
flag_reset(flag: 355)
flag_set(flag: 351)
talk_keywait("dp_scenario1%84-msg_c03gym0101_leader_04")
talk_close()
jump("pos_c03gym0101_leader_item_get")
end()