code
ev_c08gym0103_leader:
player_name(0.0)
sys_flag_badge_get(sys_flag: 131, work: 246)
ifval_jump(work: 246, "EQ", 1.0, "ev_c08gym0103_leader_badge_get")
fnote_data_make("FNOTE_ID_GYMBEFORE", 146.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", -11.0, 7.0, 4.5)
sxy_dir_change("HERO", 180.0)
event_camera_index(410.0)
black_in("SCR_WIPE_DIV", 3.0)
fade_wait()
talkmsg("dp_scenario3%11-msg_c08gym0103_leader_01_1")
set_force_blink("C08GYM0103_LEADER", 1.0)
time_wait(10.0, work: 246)
set_force_blink("C08GYM0103_LEADER", 0.0)
obj_anime("C08GYM0103_LEADER", "anm_c08gym0103_leader_01_face03")
obj_anime_wait()
talkmsg("dp_scenario3%11-msg_c08gym0103_leader_01_2")
obj_anime("C08GYM0103_LEADER", "anm_c08gym0103_leader_01_face00")
obj_anime_wait()
talk_keywait("dp_scenario3%11-msg_c08gym0103_leader_01_3")
talk_close()
event_camera_index(84.0)
btl_encseq_load("gym08")
trainer_btl_set("LEADER8_01", 0.0)
trainer_lose_check(work: 246)
ifval_jump(work: 246, "EQ", 0.0, "ev_c08gym0103_common_battle_lose")
talkmsg("dp_scenario3%11-msg_c08gym0103_leader_02_1")
talkmsg("dp_scenario3%11-msg_c08gym0103_leader_02_2")
talk_keywait("dp_scenario3%11-msg_c08gym0103_leader_02_3")
talk_close()
badge_get(7.0)
con_wait_contest_menu()
player_name(0.0)
me_play("M_FI006")
talkmsg("dp_scenario3%11-msg_c08gym0103_leader_03")
me_wait()
sys_flag_badge_set(sys_flag: 131)
add_score("SCORE_ID_GYM_LEADER_WIN")
trainer_flag_set("ELITEM_09")
trainer_flag_set("ELITEW_09")
trainer_flag_set("GUITARIST_04")
trainer_flag_set("GUITARIST_05")
trainer_flag_set("GUITARIST_06")
trainer_flag_set("POKEGIRL_02")
trainer_flag_set("SCHOOLB_03")
trainer_flag_set("SCHOOLG_03")
fnote_data_make("FNOTE_ID_GYMAFTER", 146.0, "LEADER1_01", 0.0, 0.0)
ldval(work: 249, 11700.0)
talkmsg("dp_scenario3%11-msg_c08gym0103_leader_04_1")
talk_keywait("dp_scenario3%11-msg_c08gym0103_leader_04_2")
cb_item_num_add(72.0, 4.0)
cb_item_num_add(73.0, 3.0)
cb_item_num_add(22.0, 3.0)
cb_item_num_add(23.0, 3.0)
speakers_name(0.0, "%DP_Trainers_Name_TR_LEADER8_01")
me_play("M_FI014")
talkmsg("dp_scenario1%84-msg_c03gym0101_leader_05_4")
me_wait()
jump("ev_c08gym0103_leader_item_get")
jump("ev_c08gym0103_leader_item_get")