code
ev_c10r0107_flag_change:
if_flagon_jump(flag: 139, "ev_c10r0107_bigfour3_set1")
if_flagoff_jump(flag: 139, "ev_c10r0107_bigfour3_set2")
end()
ev_c10r0107_bigfour3_set1:
if_flagoff_jump(flag: 1, "ev_c10r0107_bigfour3_set1_end")
door_enable_set("C10R0107_D02", 0.0)
door_enable_set("C10R0107_D01", 0.0)
set_door_obj("C10R0107_D02")
hit_door_anime(0.0)
sxy_exit_pos_change(0.0, 7.0, 2.0)
end()
ev_c10r0107_bigfour3_set1_end:
end()
ev_c10r0107_bigfour3_set2:
door_enable_set("C10R0107_D02", 0.0)
door_enable_set("C10R0107_D01", 0.0)
sxy_exit_pos_change(0.0, 7.0, 0.0)
end()
ev_c10r0107_bigfour3:
if_flagon_jump(flag: 139, "ev_c10r0107_bigfour3_02")
bgm_play("EV214")
if_flagon_jump(flag: 1336, "ev_c10r0107_bigfour3_pupl3")
if_flagon_jump(flag: 1335, "ev_c10r0107_bigfour3_pupl2")
talk_obj_start_look_none()
event_start()
black_out("SCR_WIPE_DIV", 3.0)
fade_wait()
call("ev_block_doc")
obj_pos_change_world("HERO", -8.0, 0.0, 6.699999809265137)
sxy_dir_change("HERO", 180.0)
event_camera_index(90.0)
black_in("SCR_WIPE_DIV", 3.0)
fade_wait()
obj_anime("C10R0107_BIGFOUR3", "anm_c10r0107_bigfour3_face01")
obj_anime_wait()
talkmsg("dp_scenario3%22-msg_c10r0107_bigfour3_01_1")
obj_anime("C10R0107_BIGFOUR3", "anm_c10r0107_bigfour3_face00")
obj_anime_wait()
talk_keywait("dp_scenario3%22-msg_c10r0107_bigfour3_01_2")
talk_close()
event_camera_index(91.0)
bgm_now_map_play()
btl_encseq_load("league03")
trainer_btl_set("BIGFOUR3_01", 0.0)
call("ev_c10r0107_bigfour3_win_common")
talkmsg("dp_scenario3%22-msg_c10r0107_bigfour3_03")
last_keywait()
talk_close()
call("ev_block_doc_end")
call("ev_c10r0107_bigfour3_win_dooropen")
talk_obj_end()
event_end()
end()
ev_c10r0107_bigfour3_win_common:
flag_set(flag: 139)
fnote_data_make("FNOTE_ID_SITENNOU", "BIGFOUR3_01", 0.0, 0.0, 0.0)
ret()
ev_c10r0107_bigfour3_win_dooropen:
set_door_obj("C10R0107_D02")
hit_door_anime(0.0)
se_play("S_FI116")
hit_door_anime_wait()
sxy_exit_pos_change(0.0, 7.0, 2.0)
flag_set(flag: 1)
ret()
anm_c10r0107_bigfour3_face00:
ac_face_index(0.0)
acmd_end()
anm_c10r0107_bigfour3_face01:
ac_face_index(1.0)
acmd_end()
anm_c10r0107_bigfour3_face02:
ac_face_index(2.0)
acmd_end()
ev_c10r0107_bigfour3_pupl2:
talk_obj_start()
event_start()
talkmsg("dp_scenario3%20-msg_c10r0107_bigfour3_11_1")
talk_close()
bgm_now_map_play()
trainer_btl_set("BIGFOUR3_02", 0.0)
trainer_lose_check(work: 246)
ifval_jump(work: 246, "EQ", 0.0, "ev_c10r0107_common_battle_lose")
call("ev_c10r0107_bigfour3_win_common")
talkmsg("dp_scenario3%20-msg_c10r0107_bigfour3_11_2")
last_keywait()
talk_close()
call("ev_block_doc_end")
call("ev_c10r0107_bigfour3_win_dooropen")
talk_obj_end()
event_end()
end()
ev_c10r0107_bigfour3_pupl3:
talk_obj_start()
event_start()
talkmsg("dp_scenario3%20-msg_c10r0107_bigfour3_21_1")
talk_close()
bgm_now_map_play()
trainer_btl_set("BIGFOUR3_03", 0.0)
trainer_lose_check(work: 246)
ifval_jump(work: 246, "EQ", 0.0, "ev_c10r0107_common_battle_lose")
call("ev_c10r0107_bigfour3_win_common")
talkmsg("dp_scenario3%20-msg_c10r0107_bigfour3_21_2")
last_keywait()
talk_close()
call("ev_block_doc_end")
call("ev_c10r0107_bigfour3_win_dooropen")
talk_obj_end()
event_end()
end()
ev_c10r0107_common_battle_lose:
trainer_lose()
talk_obj_end()
event_end()
end()
ev_c10r0107_bigfour3_02:
talk_obj_start()
if_flagon_jump(flag: 1336, "ev_c10r0107_bigfour3_pupl3w")
if_flagon_jump(flag: 1335, "ev_c10r0107_bigfour3_pupl2w")
talkmsg("dp_scenario3%22-msg_c10r0107_bigfour3_04")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c10r0107_bigfour3_pupl2w:
talkmsg("dp_scenario3%20-msg_c10r0107_bigfour3_11_3")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c10r0107_bigfour3_pupl3w:
talkmsg("dp_scenario3%20-msg_c10r0107_bigfour3_21_3")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c10r0107_room_in:
event_start()
set_door_obj("C10R0107_D01")
hit_door_anime(0.0)
se_play("S_FI116")
obj_anime("HERO", "anm_c10r0107_roomin_01")
obj_anime_wait()
flag_reset("C10R0107_D01")
se_play("S_FI117")
hit_door_anime(1.0)
hit_door_anime_wait()
door_enable_set("C10R0107_D02", 0.0)
door_enable_set("C10R0107_D01", 0.0)
sxy_exit_pos_change(0.0, 7.0, 0.0)
ldval(work: 417, 2.0)
event_end()
end()
anm_c10r0107_roomin_01:
ac_dir_u(4.0)
ac_up(2.0, 8.0)
acmd_end()