code
ev_c10r0109_flag_change:
if_flagon_jump(flag: 140, "ev_c10r0109_bigfour4_set1")
if_flagoff_jump(flag: 140, "ev_c10r0109_bigfour4_set2")
end()
ev_c10r0109_bigfour4_set1:
if_flagoff_jump(flag: 1, "ev_c10r0109_bigfour4_set1_end")
door_enable_set("C10R0109_D02", 0.0)
door_enable_set("C10R0109_D01", 0.0)
set_door_obj("C10R0109_D02")
hit_door_anime(0.0)
sxy_exit_pos_change(0.0, 7.0, 2.0)
end()
ev_c10r0109_bigfour4_set1_end:
end()
ev_c10r0109_bigfour4_set2:
door_enable_set("C10R0109_D02", 0.0)
door_enable_set("C10R0109_D01", 0.0)
sxy_exit_pos_change(0.0, 7.0, 0.0)
end()
ev_c10r0109_bigfour4:
if_flagon_jump(flag: 140, "ev_c10r0109_bigfour4_02")
bgm_play("EV214")
if_flagon_jump(flag: 1336, "ev_c10r0109_bigfour4_pupl3")
if_flagon_jump(flag: 1335, "ev_c10r0109_bigfour4_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(200.0)
set_force_blink("C10R0109_BIGFOUR4", 1.0)
black_in("SCR_WIPE_DIV", 3.0)
fade_wait()
time_wait(30.0, work: 246)
set_force_blink("C10R0109_BIGFOUR4", 0.0)
talkmsg("dp_scenario3%23-msg_c10r0109_bigfour4_01_1")
talkmsg("dp_scenario3%23-msg_c10r0109_bigfour4_01_2")
talk_close()
time_wait(15.0, work: 246)
set_force_blink("C10R0109_BIGFOUR4", 1.0)
time_wait(15.0, work: 246)
set_force_blink("C10R0109_BIGFOUR4", 0.0)
time_wait(15.0, work: 246)
talk_keywait("dp_scenario3%23-msg_c10r0109_bigfour4_01_3")
talk_close()
event_camera_index(201.0)
bgm_now_map_play()
btl_encseq_load("league04")
trainer_btl_set("BIGFOUR4_01", 0.0)
call("ev_c10r0109_bigfour4_win_common")
talkmsg("dp_scenario3%23-msg_c10r0109_bigfour4_02_1")
talkmsg("dp_scenario3%23-msg_c10r0109_bigfour4_02_2")
talkmsg("dp_scenario3%23-msg_c10r0109_bigfour4_02_3")
last_keywait()
talk_close()
talk_obj_end()
call("ev_block_doc_end")
call("ev_c10r0109_bigfour4_win_dooropen")
talk_obj_end()
event_end()
end()
ev_c10r0109_bigfour4_win_common:
flag_set(flag: 140)
fnote_data_make("FNOTE_ID_SITENNOU", "BIGFOUR4_01", 0.0, 0.0, 0.0)
ret()
ev_c10r0109_bigfour4_win_dooropen:
set_door_obj("C10R0109_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_c10r0109_bigfour4_face00:
ac_face_index(0.0)
acmd_end()
anm_c10r0109_bigfour4_face01:
ac_face_index(1.0)
acmd_end()
ev_c10r0109_bigfour4_pupl2:
talk_obj_start()
event_start()
talkmsg("dp_scenario3%20-msg_c10r0109_bigfour4_11_1")
talk_close()
bgm_now_map_play()
trainer_btl_set("BIGFOUR4_02", 0.0)
trainer_lose_check(work: 246)
ifval_jump(work: 246, "EQ", 0.0, "ev_c10r0109_common_battle_lose")
call("ev_c10r0109_bigfour4_win_common")
talkmsg("dp_scenario3%20-msg_c10r0109_bigfour4_11_2")
last_keywait()
talk_close()
call("ev_block_doc_end")
call("ev_c10r0109_bigfour4_win_dooropen")
talk_obj_end()
event_end()
end()
ev_c10r0109_bigfour4_pupl3:
talk_obj_start()
event_start()
player_name(0.0)
talkmsg("dp_scenario3%20-msg_c10r0109_bigfour4_21_1")
talk_close()
bgm_now_map_play()
trainer_btl_set("BIGFOUR4_03", 0.0)
trainer_lose_check(work: 246)
ifval_jump(work: 246, "EQ", 0.0, "ev_c10r0109_common_battle_lose")
call("ev_c10r0109_bigfour4_win_common")
talkmsg("dp_scenario3%20-msg_c10r0109_bigfour4_21_2")
last_keywait()
talk_close()
call("ev_block_doc_end")
call("ev_c10r0109_bigfour4_win_dooropen")
talk_obj_end()
event_end()
end()
ev_c10r0109_common_battle_lose:
trainer_lose()
talk_obj_end()
event_end()
end()
ev_c10r0109_bigfour4_02:
talk_obj_start()
if_flagon_jump(flag: 1336, "ev_c10r0109_bigfour4_pupl3w")
if_flagon_jump(flag: 1335, "ev_c10r0109_bigfour4_pupl2w")
talkmsg("dp_scenario3%23-msg_c10r0109_bigfour4_03")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c10r0109_bigfour4_pupl2w:
talkmsg("dp_scenario3%20-msg_c10r0109_bigfour4_11_3")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c10r0109_bigfour4_pupl3w:
talkmsg("dp_scenario3%20-msg_c10r0109_bigfour4_21_3")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c10r0109_room_in:
event_start()
set_door_obj("C10R0109_D01")
hit_door_anime(0.0)
se_play("S_FI116")
obj_anime("HERO", "anm_c10r0109_roomin_01")
obj_anime_wait()
flag_reset("C10R0109_D01")
se_play("S_FI117")
hit_door_anime(1.0)
hit_door_anime_wait()
door_enable_set("C10R0109_D02", 0.0)
door_enable_set("C10R0109_D01", 0.0)
sxy_exit_pos_change(0.0, 7.0, 0.0)
ldval(work: 417, 2.0)
event_end()
end()
anm_c10r0109_roomin_01:
ac_dir_u(4.0)
ac_up(2.0, 8.0)
acmd_end()