code
pos_c02_rival_common:
sxy_mv_change("C02_RIVAL", "MV_RIGHT")
flag_reset(flag: 377)
obj_add("C02_RIVAL")
chg_common_scr("ev_the_rival_play")
obj_anime("C02_RIVAL", "anm_c02_rival_01")
obj_anime_wait()
event_camera_index(446.0)
event_camera_end_wait()
rival_name(0.0)
player_name(1.0)
talkmsg("dp_scenario2%161-msg_c02_rival_01_1")
talk_keywait("dp_scenario2%161-msg_c02_rival_01_2", 1.0)
talk_close()
set_sys_flag(sys_flag: 909)
first_poke_no_get(work: 246)
ifval_jump(work: 246, "EQ", 387.0, "ev_c02_rival_02")
ifval_jump(work: 246, "EQ", 390.0, "ev_c02_rival_03")
jump("ev_c02_rival_01")
jump("ev_c02_rival_btl_coomon")