code
ev_btl_searcher:
event_start()
call("ev_block_doc")
ldval(work: 246, 0.0)
btl_searcher_event_call(work: 246, work: 238)
switch(work: 246)
case_jump(0.0, "ev_ok_battery")
case_jump(1.0, "ev_no_battery")
case_jump(2.0, "ev_no_trainer")
jump("ev_no_lottery")
jump("ev_ok_battery")
ev_ok_battery:
event_end()
call("ev_block_doc_end")
end()
ev_no_battery:
number_name(0.0, work: 238)
talk_keywait("dp_scenario3%99-mes_saisen_01_01")
jump("common_btl_searcher_end")
jump("common_btl_searcher_end")
ev_no_trainer:
talk_keywait("dp_scenario3%99-mes_saisen_01_02")
jump("common_btl_searcher_end")
jump("common_btl_searcher_end")
ev_no_lottery:
time_wait(30.0, work: 246)
talk_keywait("dp_scenario3%99-mes_saisen_01_03")
jump("common_btl_searcher_end")
jump("common_btl_searcher_end")
common_btl_searcher_end:
last_keywait()
talk_close()
event_end()
call("ev_block_doc_end")
end()