code
ev_kinomi:
talk_obj_start()
get_seed_type(work: 234)
debug_print(1.0)
get_seed_count(work: 235)
debug_print(2.0)
get_seed_status(work: 246)
debug_print(3.0)
switch(work: 246)
case_jump(0.0, "ev_kinomi_ground")
case_jump(1.0, "ev_kinomi_ug")
case_jump(2.0, "ev_kinomi_hutaba")
case_jump(3.0, "ev_kinomi_miki")
case_jump(4.0, "ev_kinomi_flower")
case_jump(5.0, "ev_kinomi_fruits")
jump("ev_kinomi_ground")
end()
ev_kinomi_ug:
item_name(0.0, work: 234, 1.0)
talkmsg("dp_poffin_main%DP_poffin_main_030")
call("sub_kinomi_zyouro_check")
ifval_jump(work: 246, "EQ", 0.0, "ev_kinomi_cancel")
jump("ev_kinomi_zyouro")
end()
ev_kinomi_ug_msg:
item_name(0.0, work: 234, 1.0)
talkmsg("mes_kinomi_02_09")
last_keywait()
jump("ev_kinomi_cancel")
end()
ev_kinomi_hutaba:
nuts_name(0.0, work: 234, work: 235)
talkmsg("dp_poffin_main%DP_poffin_main_031")
call("sub_kinomi_zyouro_check")
ifval_jump(work: 246, "EQ", 0.0, "ev_kinomi_cancel")
jump("ev_kinomi_zyouro")
end()
ev_kinomi_hutaba_msg:
nuts_name(0.0, work: 234, work: 235)
talkmsg("mes_kinomi_02_10")
last_keywait()
jump("ev_kinomi_cancel")
end()
ev_kinomi_miki:
nuts_name(0.0, work: 234, work: 235)
talkmsg("dp_poffin_main%DP_poffin_main_032")
call("sub_kinomi_zyouro_check")
ifval_jump(work: 246, "EQ", 0.0, "ev_kinomi_cancel")
jump("ev_kinomi_zyouro")
end()
ev_kinomi_miki_msg:
nuts_name(0.0, work: 234, work: 235)
talkmsg("mes_kinomi_02_11")
last_keywait()
jump("ev_kinomi_cancel")
end()
ev_kinomi_flower:
nuts_name(0.0, work: 234, work: 235)
talkmsg("dp_poffin_main%DP_poffin_main_033")
call("sub_kinomi_zyouro_check")
ifval_jump(work: 246, "EQ", 0.0, "ev_kinomi_cancel")
jump("ev_kinomi_zyouro")
end()
ev_kinomi_flower_msg:
nuts_name(0.0, work: 234, work: 235)
talkmsg("mes_kinomi_02_12")
last_keywait()
jump("ev_kinomi_cancel")
end()
sub_kinomi_zyouro_check:
item_chk(448.0, 1.0, work: 246)
ifval_jump(work: 246, "EQ", 0.0, "sub_kinomi_zyouro_ng")
check_can_seed_water(work: 246)
ifval_jump(work: 246, "EQ", 0.0, "sub_kinomi_zyouro_ng")
jump("sub_kinomi_zyouro_ok")
end()
sub_kinomi_zyouro_ok:
ldval(work: 246, 1.0)
ret()
sub_kinomi_zyouro_ng:
ldval(work: 246, 0.0)
ret()
ev_kinomi_zyouro:
talkmsg("dp_poffin_main%DP_poffin_main_034")
yes_no_win(work: 246)
ifval_jump(work: 246, "EQ", 1.0, "ev_kinomi_cancel")
talk_close()
se_play("S_FI239")
set_seed_water()
se_play("STOP_S_FI239")
talk_keywait("dp_poffin_main%DP_poffin_main_037")
last_keywait()
jump("ev_kinomi_cancel")
end()
ev_kinomi_fruits:
item_name(0.0, work: 234, work: 235)
number_name(1.0, work: 235)
talkmsg("dp_poffin_main%DP_poffin_main_038")
yes_no_win(work: 246)
ifval_jump(work: 246, "EQ", 1.0, "ev_kinomi_take_nothing")
add_item_chk(work: 234, work: 235, work: 246)
ifval_jump(work: 246, "EQ", 0.0, "ev_kinomi_cannot_take")
item_name(0.0, work: 234, work: 235)
number_name(1.0, work: 235)
talkmsg("dp_poffin_main%DP_poffin_main_042")
me_play("M_FI001")
me_wait()
take_seed()
player_name(0.0)
item_name(1.0, work: 234, work: 235)
get_pocket_no(work: 234, work: 246)
pocket_name(3.0, work: 246)
talkmsg("dp_poffin_main%DP_poffin_main_044")
last_keywait()
jump("ev_kinomi_cancel")
end()
ev_kinomi_cannot_take:
item_name(0.0, work: 234, work: 235)
talk_keywait("dp_poffin_main%DP_poffin_main_043")
last_keywait()
jump("ev_kinomi_cancel")
end()
ev_kinomi_not_take:
call("sub_kinomi_zyouro_check")
ifval_jump(work: 246, "EQ", 0.0, "ev_kinomi_take_nothing")
jump("ev_kinomi_zyouro")
end()
ev_kinomi_take_nothing:
player_name(0.0)
item_name(1.0, work: 234, work: 235)
talk_keywait("dp_poffin_main%DP_poffin_main_041")
last_keywait()
jump("ev_kinomi_cancel")
end()
ev_kinomi_ground:
jump("ev_kinomi_plane")
end()
ev_kinomi_plane:
check_pocket(3.0, work: 246)
ifval_jump(work: 246, "EQ", 0.0, "ev_kinomi_plane_msg")
talkmsg("dp_poffin_main%DP_poffin_main_017")
jump("ev_kinomi_ask_set_seed")
end()
ev_kinomi_ask_set_seed:
talkmsg("dp_poffin_main%DP_poffin_main_025")
yes_no_win(work: 246)
ifval_jump(work: 246, "EQ", 1.0, "ev_kinomi_cancel")
jump("ev_kinomi_select_nuts")
end()
ev_kinomi_select_nuts:
talk_close()
bag_set_proc_kinomi()
set_map_proc()
bag_get_result(work: 246)
ifval_jump(work: 246, "EQ", 0.0, "ev_kinomi_end")
item_name(0.0, work: 246, 1.0)
talk_keywait("dp_poffin_main%DP_poffin_main_029")
last_keywait()
sub_item(work: 246, 1.0, work: 238)
set_seed_nuts(work: 246)
jump("ev_kinomi_cancel")
jump("ev_kinomi_cancel")
ev_kinomi_cancel:
talk_close()
talk_obj_end()
end()
ev_kinomi_end:
talk_close()
talk_obj_end()
end()
sub_kinomi_select_nuts:
jump("ev_kinomi_bag_kinomi")
ev_kinomi_plane_msg:
talkmsg("dp_poffin_main%DP_poffin_main_017")
last_keywait()
jump("ev_kinomi_cancel")
jump("ev_kinomi_bag_kinomi")
ev_kinomi_bag_kinomi:
talk_obj_start()
item_name(0.0, work: 234, 1.0)
talk_keywait("dp_poffin_main%DP_poffin_main_029")
last_keywait()
talk_close()
sub_item(work: 234, 1.0, work: 238)
set_seed_nuts(work: 234)
talk_obj_end()
end()
ev_kinomi_bag_zyouro:
event_start()
se_play("S_FI239")
set_seed_water()
se_play("STOP_S_FI239")
talk_keywait("dp_poffin_main%DP_poffin_main_037")
last_keywait()
talk_close()
event_end()
end()