code
ev_c05r0901_girl2:
talk_obj_start_turn_not()
if_flagon_jump(flag: 262, "ev_c05r0901_girl2_08")
if_flagon_jump(sys_flag: 30, "ev_c05r0901_girl2_02")
set_sys_flag(sys_flag: 30)
talkmsg("dp_scenario2%53-msg_c05r0901_girl2_01_1", 1.0)
talkmsg("dp_scenario2%53-msg_c05r0901_girl2_01_2", 1.0)
talkmsg("dp_scenario2%53-msg_c05r0901_girl2_01_3", 1.0)
talkmsg("dp_scenario2%53-msg_c05r0901_girl2_01_4", 1.0)
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c05r0901_girl2_02:
zenkoku_zukan_flag(2.0, work: 246)
ifval_jump(work: 246, "EQ", 1.0, "ev_c05r0901_girl2_03")
talkmsg("dp_scenario2%53-msg_c05r0901_girl2_02_1")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c05r0901_girl2_03:
if_flagon_jump(flag: 263, "ev_c05r0901_girl2_04")
flag_set(flag: 263)
talkmsg("dp_scenario2%53-msg_c05r0901_girl2_03_1")
talkmsg("dp_scenario2%53-msg_c05r0901_girl2_03_2")
talkmsg("dp_scenario2%53-msg_c05r0901_girl2_03_3")
yes_no_win(work: 246)
ifval_jump(work: 246, "EQ", 0.0, "ev_c05r0901_pokemon_add_check")
jump("ev_c05r0901_girl2_07")
end()
ev_c05r0901_girl2_04:
talkmsg("dp_scenario2%53-msg_c05r0901_girl2_04")
yes_no_win(work: 246)
ifval_jump(work: 246, "EQ", 0.0, "ev_c05r0901_pokemon_add_check")
jump("ev_c05r0901_girl2_07")
end()
ev_c05r0901_pokemon_add_check:
get_poke_count(work: 246)
ifval_jump(work: 246, "EQ", 6.0, "ev_c05r0901_pokemon_add_check01")
jump("ev_c05r0901_pokemon_add_check02")
end()
ev_c05r0901_pokemon_add_check01:
count_monsbox_space(work: 246)
ifval_jump(work: 246, "NE", 0.0, "ev_c05r0901_girl2_06")
jump("ev_c05r0901_pokemon_add_check02")
end()
ev_c05r0901_pokemon_add_check02:
talkmsg("dp_scenario2%53-msg_c05r0901_girl2_05")
player_name(0.0)
pokemon_name_extra(1.0, 133.0, 0.0, 0.0)
me_play("M_FI013")
talkmsg("dp_scenario2%53-msg_c05r0901_girl2_09")
me_wait()
unique_poke_temp(2.0)
talk_close()
event_camera_index(115.0)
nickname_placement(work: 246)
event_camera_index(116.0)
event_camera_end_wait()
sub_wk(work: 246, 1.0)
unique_poke_fix(work: 246)
get_poke_count(work: 238)
sub_wk(work: 238, 1.0)
chk_zukan_touroku(-1.0, work: 238, "SCWK_ANSER")
ifval_call("SCWK_ANSER", "EQ", 0.0, "ev_c05r0901_zukan")
flag_set(flag: 262)
end()
c05r0901_name_change_yes:
talk_close()
get_poke_count(work: 0)
sub_wk(work: 0, 1.0)
event_camera_index(115.0)
namein_poke(work: 0, -1.0, work: 246)
event_camera_index(116.0)
event_camera_end_wait()
talk_obj_end()
end()
c05r0901_name_change_no:
talk_close()
talk_obj_end()
end()
ev_c05r0901_girl2_06:
talkmsg("dp_scenario2%53-msg_c05r0901_girl2_06")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c05r0901_girl2_07:
talkmsg("dp_scenario2%53-msg_c05r0901_girl2_07")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c05r0901_girl2_08:
talkmsg("dp_scenario2%53-msg_c05r0901_girl2_08")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c05r0901_zukan:
zukan_touroku(-1.0, work: 238)
zukan_touroku_wait()
ret()