code
ev_c07r0202_flag_change:
ldval(work: 115, 1.0)
end()
ev_c07r0202_depart:
talk_obj_start()
regular_check(work: 246)
ifval_jump(work: 246, "EQ", 1.0, "c07r0202_regular_check")
talkmsg("dp_scenario2%97-msg_c07r0202_depart_01")
add_custum_win_label("dp_options%DP_options_229", 1.0)
add_custum_win_label("dp_options%DP_options_228", 0.0)
open_custum_win(work: 246)
switch(work: 246)
case_jump(1.0, "ev_c07r0202_depart_04")
case_jump(0.0, "ev_c07r0202_depart_03")
jump("ev_c07r0202_depart_03")
c07r0202_regular_check:
player_name(0.0)
talkmsg("dp_scenario2%97-msg_c07r0202_depart_02")
add_custum_win_label("dp_options%DP_options_229", 1.0)
add_custum_win_label("dp_options%DP_options_228", 0.0)
open_custum_win(work: 246)
switch(work: 246)
case_jump(0.0, "ev_c07r0202_depart_03")
case_jump(1.0, "ev_c07r0202_depart_07")
jump("ev_c07r0202_depart_03")
ev_c07r0202_depart_03:
talkmsg("dp_scenario2%97-msg_c07r0202_depart_03")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c07r0202_depart_04:
talkmsg("dp_scenario2%97-msg_c07r0202_depart_04")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c07r0202_depart_05:
talkmsg("dp_scenario2%97-msg_c07r0202_depart_05")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c07r0202_depart_06:
talkmsg("dp_scenario2%97-msg_c07r0202_depart_06")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c07r0202_depart_07:
talkmsg("dp_scenario2%97-msg_c07r0202_depart_07")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c07r0202_gorggeousw:
easy_obj_msg("dp_scenario2%97-msg_c07r0202_gorggeousw_01")
end()
ev_c07r0202_boy3:
easy_obj_msg("dp_scenario2%97-msg_c07r0202_boy3_01")
end()
ev_c07r0202_shopm:
talk_obj_start()
ldval(work: 246, 0.0)
poketch_check(9.0, work: 246)
ifval_jump(work: 246, "EQ", 1.0, "ev_c07r0202_shoopm_03")
talkmsg("dp_scenario2%97-msg_c07r0202_shopwoman_01")
yes_no_win(work: 246)
ifval_jump(work: 246, "EQ", 1.0, "ev_c07r0202_shoopm_04")
talk_keywait("dp_scenario2%97-msg_c07r0202_shopwoman_02")
ldval(work: 238, 9.0)
call("ev_poketch_soft_get_sub")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c07r0202_shoopm_03:
talkmsg("dp_scenario2%97-msg_c07r0202_shopwoman_03")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c07r0202_shoopm_04:
talkmsg("dp_scenario2%97-msg_c07r0202_shopwoman_04")
last_keywait()
talk_close()
talk_obj_end()
end()
ev_c07r0202_shopm_01:
easy_obj_msg("97-msg_c07r0202_shopm_01")
end()
ev_c07r0202_fix_shop_01:
talk_obj_start()
chg_common_scr("ev_shop_start_talk")
ldval(work: 3, 0.0)
jump("ev_c07r0202_01_fix_shop_re")
end()
ev_c07r0202_01_fix_shop_re:
ifval_call(work: 3, "EQ", 1.0, "ev_c07r0202_01_fix_shop_sonohoka")
add_custum_win_label("ss_fld_shop%SS_fld_shop_197", 0.0)
add_custum_win_label("ss_fld_shop%SS_fld_shop_198", 1.0)
add_custum_win_label("ss_fld_shop%SS_fld_shop_199", 2.0)
open_custum_win(work: 238)
switch(work: 238)
case_jump(0.0, "ev_c07r0202_01_fix_shop_buy")
case_jump(1.0, "ev_c07r0202_01_fix_shop_sell")
case_jump(2.0, "ev_c07r0202_01_fix_shop_end")
jump("ev_c07r0202_01_fix_shop_end")
end()
ev_c07r0202_01_fix_shop_sonohoka:
talkmsg("dp_scenario1%28-mes_shop_01_03")
ret()
ev_c07r0202_01_fix_shop_buy:
ldval(work: 3, 1.0)
talk_close_no_clear()
event_camera_index(300.0)
shop_open_fixed(5.0)
dpr_shop_open_wait()
event_camera_index(301.0)
event_camera_end_wait()
jump("ev_c07r0202_01_fix_shop_re")
end()
ev_c07r0202_01_fix_shop_sell:
ldval(work: 3, 1.0)
talk_close_no_clear()
shop_open_sell()
dpr_shop_open_wait()
jump("ev_c07r0202_01_fix_shop_re")
end()
ev_c07r0202_01_fix_shop_end:
talkmsg("ss_fld_shop%SS_fld_shop_202")
talk_close()
talk_obj_end()
end()
ev_c07r0202_fix_shop_02:
talk_obj_start()
chg_common_scr("ev_shop_start_talk")
ldval(work: 3, 0.0)
jump("ev_c07r0202_02_fix_shop_re")
end()
ev_c07r0202_02_fix_shop_re:
ifval_call(work: 3, "EQ", 1.0, "ev_c07r0202_02_fix_shop_sonohoka")
add_custum_win_label("ss_fld_shop%SS_fld_shop_197", 0.0)
add_custum_win_label("ss_fld_shop%SS_fld_shop_198", 1.0)
add_custum_win_label("ss_fld_shop%SS_fld_shop_199", 2.0)
open_custum_win(work: 238)
switch(work: 238)
case_jump(0.0, "ev_c07r0202_02_fix_shop_buy")
case_jump(1.0, "ev_c07r0202_02_fix_shop_sell")
case_jump(2.0, "ev_c07r0202_02_fix_shop_end")
jump("ev_c07r0202_02_fix_shop_end")
end()
ev_c07r0202_02_fix_shop_sonohoka:
talkmsg("dp_scenario1%28-mes_shop_01_03")
ret()
ev_c07r0202_02_fix_shop_buy:
ldval(work: 3, 1.0)
talk_close_no_clear()
event_camera_index(300.0)
shop_open_fixed(6.0)
dpr_shop_open_wait()
event_camera_index(301.0)
event_camera_end_wait()
jump("ev_c07r0202_02_fix_shop_re")
end()
ev_c07r0202_02_fix_shop_sell:
ldval(work: 3, 1.0)
talk_close_no_clear()
shop_open_sell()
dpr_shop_open_wait()
jump("ev_c07r0202_02_fix_shop_re")
end()
ev_c07r0202_02_fix_shop_end:
talkmsg("ss_fld_shop%SS_fld_shop_202")
talk_close()
talk_obj_end()
end()
ev_c07r0202_board:
easy_obj_msg("dp_scenario2%97-msg_c07r0202_board_01")
end()