code
ev_ug_flag_change:
ug_man_shop_npc_rand_place()
sxy_pos_change("UG_ITEM_SHOP_01", 72.0, 104.0)
sxy_pos_change("UG_ITEM_SHOP_02", 424.0, 87.0)
sxy_pos_change("UG_ITEM_SHOP_03", 200.0, 185.0)
sxy_pos_change("UG_ITEM_SHOP_04", 335.0, 264.0)
sxy_pos_change("UG_ITEM_SHOP_05", 175.0, 279.0)
sxy_pos_change("UG_ITEM_SHOP_06", 424.0, 439.0)
sxy_pos_change("UG_ITEM_SHOP_07", 87.0, 456.0)
sxy_pos_change("UG_ITEM_SHOP_08", 311.0, 358.0)
sxy_pos_change("UG_TRAP_SHOP_01", 232.0, 87.0)
sxy_pos_change("UG_TRAP_SHOP_02", 328.0, 151.0)
sxy_pos_change("UG_TRAP_SHOP_03", 232.0, 215.0)
sxy_pos_change("UG_TRAP_SHOP_04", 232.0, 298.0)
sxy_pos_change("UG_TRAP_SHOP_05", 279.0, 328.0)
sxy_pos_change("UG_TRAP_SHOP_06", 279.0, 456.0)
sxy_pos_change("UG_TRAP_SHOP_07", 183.0, 392.0)
sxy_pos_change("UG_TRAP_SHOP_08", 279.0, 245.0)
sxy_pos_change("UG_TREASURE_SHOP_01", 40.0, 471.0)
sxy_pos_change("UG_TREASURE_SHOP_02", 471.0, 72.0)
sxy_pos_change("UG_TREASURE_SHOP_03", 471.0, 471.0)
sxy_pos_change("UG_TREASURE_SHOP_04", 40.0, 72.0)
end()
ev_ug_obj_change:
ifval_jump(work: 117, "EQ", 0.0, "ev_ug_first_pos_set")
end()
ev_ug_first_pos_set:
player_pos_get(work: 0, work: 1)
add_wk(work: 0, 1.0)
obj_pos_change("UG_MOUNT", work: 0, 1.0, work: 1, 1.0)
end()
ev_ug_trap_shop:
ug_shop_talk_start("mes_uw_buy_01")
jump("ev_ug_trap_shop_next")
end()
ev_ug_trap_shop_next:
ug_shop_menu_init("UG_SHOP_TRAP", work: 246)
ldwk(work: 238, work: 246)
switch(work: 246)
case_jump("UG_SHOP_CARAT_SMALL", "ev_ug_shop_bag_small")
case_jump("UG_SHOP_BAG_FULL", "ev_ug_shop_bag_full")
case_jump("UG_SHOP_MISS_SELECT", "ev_ug_shop_miss_select")
case_jump("UG_SHOP_CANCEL", "ev_ug_shop_cancel")
jump("ev_ug_shop_others_trap")
end()
ev_ug_shop_bag_small:
ug_shop_talk_start("mes_uw_buy_06")
jump("ev_ug_trap_shop_ret")
end()
ev_ug_shop_bag_full:
ug_shop_talk_start("mes_uw_buy_04")
jump("ev_ug_trap_shop_ret")
end()
ev_ug_shop_miss_select:
ug_shop_talk_start("mes_uw_buy_05")
jump("ev_ug_trap_shop_ret")
end()
ev_ug_shop_cancel:
ug_shop_talk_start("mes_uw_buy_09")
jump("ev_ug_shop_common")
end()
ev_ug_trap_shop_ret:
ab_keywait()
ug_shop_talk_start("mes_uw_buy_08")
jump("ev_ug_trap_shop_next")
end()
ev_ug_shop_others_trap:
ab_keywait()
jump("ev_ug_trap_shop_ret")
end()
ev_ug_shop_common:
ab_keywait()
ug_shop_talk_end()
end()
ev_ug_item_shop:
ug_shop_talk_start("mes_uw_buy_01")
jump("ev_ug_item_shop_next")
end()
ev_ug_item_shop_next:
ug_shop_menu_init("UG_SHOP_GOODS", work: 246)
ldwk(work: 238, work: 246)
switch(work: 246)
case_jump("UG_SHOP_CARAT_SMALL", "ev_ug_item_shop_bag_small")
case_jump("UG_SHOP_BAG_FULL", "ev_ug_item_shop_bag_full")
case_jump("UG_SHOP_MISS_SELECT", "ev_ug_item_shop_miss_select")
case_jump("UG_SHOP_CANCEL", "ev_ug_shop_cancel")
jump("ev_ug_shop_others_item")
end()
ev_ug_item_shop_bag_full:
ug_shop_talk_start("mes_uw_buy_04")
jump("ev_ug_item_shop_ret")
end()
ev_ug_item_shop_miss_select:
ug_shop_talk_start("mes_uw_buy_05")
jump("ev_ug_item_shop_ret")
end()
ev_ug_item_shop_bag_small:
ug_shop_talk_start("mes_uw_buy_06")
jump("ev_ug_item_shop_ret")
end()
ev_ug_shop_others_item:
ab_keywait()
jump("ev_ug_item_shop_ret")
end()
ev_ug_item_shop_ret:
ab_keywait()
ug_shop_talk_start("mes_uw_buy_08")
jump("ev_ug_item_shop_next")
end()
ev_ug_treasure_shop:
ug_shop_talk_start("mes_uw_buy_27")
jump("ev_ug_treasure_shop_next")
end()
ev_ug_treasure_shop_next:
ug_shop_menu_init("UG_SHOP_TREASURE", work: 246)
ldwk(work: 238, work: 246)
switch(work: 246)
case_jump("UG_SHOP_BAG_FULL", "ev_ug_treasure_shop_bag_full")
case_jump("UG_SHOP_CANCEL", "ev_ug_shop_cancel")
jump("ev_ug_shop_others_treasure")
end()
ev_ug_treasure_shop_bag_full:
ug_shop_talk_start("mes_uw_buy_04")
jump("ev_ug_treasure_shop_ret")
end()
ev_ug_shop_others_treasure:
ab_keywait()
jump("ev_ug_treasure_shop_ret")
end()
ev_ug_treasure_shop_ret:
ab_keywait()
ug_shop_talk_start("mes_uw_buy_08")
jump("ev_ug_treasure_shop_next")
end()
ev_ug_first:
obj_anime("UG_MOUNT", "anm_ug_mount_00")
obj_anime_wait()
comm_player_set_dir(3.0)
ug_shop_talk_start("msg_uw_mount_01")
ab_keywait()
ug_shop_talk_end()
obj_anime("UG_MOUNT", "anm_ug_mount_01")
obj_anime_wait()
se_play("SE_UG_CHG_UP")
obj_anime("UG_MOUNT", "anm_ug_mount_02")
obj_anime_wait()
obj_del("UG_MOUNT")
ldval(work: 117, 1.0)
set_sys_flag(sys_flag: 50)
end()
ev_ug_0000:
talk_obj_start()
obj_anime("fc1062_00", "ug_0010_goe")
obj_anime("HERO", "ug_0010_r")
obj_anime_wait()
me_play("M_FI002")
black_out("SCR_WIPE_DIV", "SCR_WIPE_SYNC")
fade_wait()
pc_kaifuku()
black_in("SCR_WIPE_DIV", "SCR_WIPE_SYNC")
fade_wait()
me_wait()
if_flagoff_call(flag: 1610, "ev_ug_0010_01")
if_flagon_call(flag: 1610, "ev_ug_0010_05")
ac_anim_lock("fc1062_00")
obj_anime("fc1062_00", "ug_0010_bye2")
obj_anime_wait()
ac_anim_release("fc1062_00")
flag_set(flag: 1610)
ug_leave_hoyuta("fc1062_00", 1.0)
talk_close()
talk_obj_end()
end()
ev_ug_0001:
talk_obj_start()
talk_keywait("dlp_underground%DLP_underground_515")
jump("ev_ug_0001_re")
ev_ug_0001_re:
add_custum_win_label("dlp_underground%DLP_underground_168", 1.0)
add_custum_win_label("dlp_underground%DLP_underground_169", 2.0)
add_custum_win_label("dlp_underground%DLP_underground_482", 3.0)
open_custum_win(work: 246)
switch(work: 246)
case_jump(1.0, "ev_ug_0001_01")
case_jump(2.0, "ev_ug_0001_2")
talk_keywait("dlp_underground%DLP_underground_524")
talk_close()
talk_obj_end()
end()
ev_ug_0001_01:
talk_close()
ug_shop_menu_init(1.0)
con_wait_contest_menu()
talk_keywait("dlp_underground%DLP_underground_523")
jump("ev_ug_0001_re")
end()
ev_ug_0001_2:
talk_close()
ug_shop_menu_init(4.0)
con_wait_contest_menu()
talk_keywait("dlp_underground%DLP_underground_523")
jump("ev_ug_0001_re")
end()
ev_ug_0002:
talk_obj_start()
talk_keywait("dlp_underground%DLP_underground_520")
jump("ev_ug_0002_re")
ev_ug_0002_re:
add_custum_win_label("dlp_underground%DLP_underground_168", 1.0)
add_custum_win_label("dlp_underground%DLP_underground_169", 2.0)
add_custum_win_label("dlp_underground%DLP_underground_482", 3.0)
open_custum_win(work: 246)
switch(work: 246)
case_jump(1.0, "ev_ug_0002_1")
case_jump(2.0, "ev_ug_0002_2")
talk_keywait("dlp_underground%DLP_underground_524")
talk_close()
talk_obj_end()
end()
ev_ug_0002_1:
talk_close()
ug_shop_menu_init(2.0)
con_wait_contest_menu()
talk_keywait("dlp_underground%DLP_underground_523")
jump("ev_ug_0002_re")
end()
ev_ug_0002_2:
talk_close()
ug_shop_menu_init(4.0)
con_wait_contest_menu()
talk_keywait("dlp_underground%DLP_underground_523")
jump("ev_ug_0002_re")
end()
ev_ug_0003:
talk_obj_start()
talk_keywait("dlp_underground%DLP_underground_179")
jump("ev_ug_0003_re")
ev_ug_0003_re:
check_secret_base_expantion(work: 238)
add_custum_win_label("dlp_underground%DLP_underground_180", 1.0)
ifval_call(work: 238, "EQ", 1.0, "ev_ug_0003_kichi")
add_custum_win_label("dlp_underground%DLP_underground_482", 3.0)
open_custum_win(work: 246)
switch(work: 246)
case_jump(1.0, "ev_ug_0003_1")
case_jump(2.0, "ev_ug_0003_2")
talk_keywait("dlp_underground%DLP_underground_524")
talk_close()
talk_obj_end()
end()
ev_ug_0003_kichi:
add_custum_win_label("dlp_underground%DLP_underground_481", 2.0)
ret()
ev_ug_0003_1:
talk_close()
ug_shop_menu_init(3.0)
con_wait_contest_menu()
talk_keywait("dlp_underground%DLP_underground_523")
jump("ev_ug_0003_re")
end()
ev_ug_0003_2:
talk_close()
ug_shop_menu_init(5.0)
con_wait_contest_menu()
talk_keywait("dlp_underground%DLP_underground_523")
jump("ev_ug_0003_re")
end()
ev_ug_0004:
end()
ev_ug_0005:
end()
ev_ug_0006:
talk_obj_start()
talk_keywait("dlp_underground%DLP_underground_533")
add_custum_win_label("dlp_underground%DLP_underground_534", 1.0)
add_custum_win_label("dlp_underground%DLP_underground_482", 2.0)
open_custum_win(work: 246)
switch(work: 246)
case_jump(1.0, "ev_ug_0006_1")
case_jump(2.0, "ev_ug_0006_ng")
jump()
end()
ev_ug_0006_1:
player_name(0.0)
talk_keywait("dlp_underground%DLP_underground_535")
black_out("SCR_WIPE_DIV", "SCR_WIPE_SYNC")
fade_wait()
me_play("M_FI002")
me_wait()
pc_kaifuku()
black_in("SCR_WIPE_DIV", "SCR_WIPE_SYNC")
fade_wait()
player_name(0.0)
talk_keywait("dlp_underground%DLP_underground_536")
talk_close()
talk_obj_end()
end()
ev_ug_0006_ng:
talk_keywait("dlp_underground%DLP_underground_524")
talk_close()
talk_obj_end()
end()
ev_ug_0007:
end()
ev_ug_0008:
end()
ev_ug_0009:
talk_obj_start()
talk_ug_npc()
talk_obj_end()
end()
ev_ug_0010:
talk_obj_start()
obj_anime("fc1062_00", "ug_0010_goe")
obj_anime_wait()
me_play("M_FI002")
black_out("SCR_WIPE_DIV", "SCR_WIPE_SYNC")
fade_wait()
pc_kaifuku()
black_in("SCR_WIPE_DIV", "SCR_WIPE_SYNC")
fade_wait()
me_wait()
if_flagoff_call(flag: 1610, "ev_ug_0010_01")
if_flagon_call(flag: 1610, "ev_ug_0010_02")
get_is_have_secretbase(work: 246)
ifval_call(work: 246, "EQ", 1.0, "ev_ug_0010_03")
ifval_call(work: 246, "EQ", 0.0, "ev_ug_0010_04")
talk_close()
ug_leave_hoyuta("fc1062_00", 0.0)
flag_set(flag: 1610)
talk_obj_end()
end()
ev_ug_0010_01:
player_name(0.0)
talk_keywait("dlp_underground%DLP_underground_459")
ret()
ev_ug_0010_02:
player_name(0.0)
talk_keywait("dlp_underground%DLP_underground_460")
ret()
ev_ug_0010_03:
if_flagon_call(flag: 1627, "ev_ug_0010_05")
if_flagoff_call(flag: 1627, "ev_ug_0010_03_b")
ret()
ev_ug_0010_03_b:
talk_keywait("dlp_underground%DLP_underground_461")
flag_set(flag: 1627)
ret()
ev_ug_0010_04:
talk_keywait("dlp_underground%DLP_underground_462")
ret()
ev_ug_0010_05:
talk_keywait("dlp_underground%DLP_underground_463")
ret()
ug_0010_goe:
ac_mark_gyoe()
acmd_end()
ug_0010_goe2:
ac_mark_gyoe()
ac_dir_u(8.0)
acmd_end()
ug_0010_r:
ac_dir_r(8.0)
acmd_end()
ug_0010_bye:
ac_index_anime(15.0)
ac_wait(40.0)
ac_vanish_on()
acmd_end()
ug_0010_bye2:
ac_dir_d(8.0)
ac_down(2.0, 8.0)
ac_vanish_on()
acmd_end()