2017-11-10 02:21:31 +01:00
|
|
|
LilycoveCity_DepartmentStoreRooftop_MapScripts:: @ 8220207
|
2019-04-22 22:31:51 +02:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, LilycoveCity_DepartmentStoreRooftop_OnTransition
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2019-04-22 22:31:51 +02:00
|
|
|
LilycoveCity_DepartmentStoreRooftop_OnTransition: @ 822020D
|
2019-10-07 08:00:16 +02:00
|
|
|
getpricereduction POKENEWS_LILYCOVE
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220227
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_22022B
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_220227:: @ 8220227
|
2018-10-18 04:07:23 +02:00
|
|
|
clearflag FLAG_HIDE_LILYCOVE_DEPARTMENT_STORE_ROOFTOP_SALE_WOMAN
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_22022B:: @ 822022B
|
2018-10-18 04:07:23 +02:00
|
|
|
setflag FLAG_HIDE_LILYCOVE_DEPARTMENT_STORE_ROOFTOP_SALE_WOMAN
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_22022F:: @ 822022F
|
|
|
|
lock
|
|
|
|
faceplayer
|
2019-08-15 05:38:42 +02:00
|
|
|
message gText_HowMayIServeYou
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
|
|
|
pokemartdecoration LilycoveCity_DepartmentStoreRooftop_PokemartDecor_220248
|
2019-08-15 05:38:42 +02:00
|
|
|
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2017-11-10 08:36:41 +01:00
|
|
|
.align 2
|
2017-11-10 02:21:31 +01:00
|
|
|
LilycoveCity_DepartmentStoreRooftop_PokemartDecor_220248: @ 8220248
|
2019-04-17 02:06:38 +02:00
|
|
|
.2byte DECOR_MUD_BALL
|
|
|
|
.2byte DECOR_FENCE_LENGTH
|
|
|
|
.2byte DECOR_FENCE_WIDTH
|
|
|
|
.2byte DECOR_TIRE
|
|
|
|
.2byte DECOR_BREAKABLE_DOOR
|
|
|
|
.2byte DECOR_SOLID_BOARD
|
|
|
|
.2byte DECOR_SAND_ORNAMENT
|
|
|
|
.2byte DECOR_STAND
|
|
|
|
.2byte DECOR_SLIDE
|
|
|
|
.2byte DECOR_TV
|
|
|
|
.2byte DECOR_ROUND_TV
|
|
|
|
.2byte DECOR_CUTE_TV
|
|
|
|
.2byte DECOR_WAILMER_DOLL
|
|
|
|
.2byte DECOR_RHYDON_DOLL
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_220268:: @ 8220268
|
|
|
|
lock
|
|
|
|
faceplayer
|
2019-10-07 08:00:16 +02:00
|
|
|
getpricereduction POKENEWS_LILYCOVE
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220282
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox LilycoveCity_DepartmentStoreRooftop_Text_220463, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_220282:: @ 8220282
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2204C9, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_22028C:: @ 822028C
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox LilycoveCity_DepartmentStoreRooftop_Text_220552, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_220295:: @ 8220295
|
|
|
|
lockall
|
|
|
|
message LilycoveCity_DepartmentStoreRooftop_Text_22056D
|
|
|
|
waitmessage
|
|
|
|
showmoneybox 0, 0, 0
|
|
|
|
goto LilycoveCity_DepartmentStoreRooftop_EventScript_2202A6
|
|
|
|
end
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_2202A6:: @ 82202A6
|
2019-09-19 06:56:51 +02:00
|
|
|
multichoice 16, 0, MULTI_VENDING_MACHINE, 0
|
2018-05-19 18:02:43 +02:00
|
|
|
copyvar VAR_TEMP_1, VAR_RESULT
|
|
|
|
switch VAR_TEMP_1
|
2017-11-10 02:21:31 +01:00
|
|
|
case 0, LilycoveCity_DepartmentStoreRooftop_EventScript_2202E4
|
|
|
|
case 1, LilycoveCity_DepartmentStoreRooftop_EventScript_2202EF
|
|
|
|
case 2, LilycoveCity_DepartmentStoreRooftop_EventScript_2202FA
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox LilycoveCity_DepartmentStoreRooftop_Text_220603, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
goto LilycoveCity_DepartmentStoreRooftop_EventScript_22045E
|
|
|
|
end
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_2202E4:: @ 82202E4
|
2019-09-16 05:47:07 +02:00
|
|
|
setvar VAR_TEMP_0, ITEM_FRESH_WATER
|
2017-11-10 02:21:31 +01:00
|
|
|
goto LilycoveCity_DepartmentStoreRooftop_EventScript_22032F
|
|
|
|
end
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_2202EF:: @ 82202EF
|
2019-09-16 05:47:07 +02:00
|
|
|
setvar VAR_TEMP_0, ITEM_SODA_POP
|
2017-11-10 02:21:31 +01:00
|
|
|
goto LilycoveCity_DepartmentStoreRooftop_EventScript_22032F
|
|
|
|
end
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_2202FA:: @ 82202FA
|
2019-09-16 05:47:07 +02:00
|
|
|
setvar VAR_TEMP_0, ITEM_LEMONADE
|
2017-11-10 02:21:31 +01:00
|
|
|
goto LilycoveCity_DepartmentStoreRooftop_EventScript_22032F
|
|
|
|
end
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_220305:: @ 8220305
|
2019-09-16 05:47:07 +02:00
|
|
|
checkmoney 200, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_22030C:: @ 822030C
|
2019-09-16 05:47:07 +02:00
|
|
|
checkmoney 300, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_220313:: @ 8220313
|
2019-09-16 05:47:07 +02:00
|
|
|
checkmoney 350, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_22031A:: @ 822031A
|
2019-09-16 05:47:07 +02:00
|
|
|
takemoney 200, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_220321:: @ 8220321
|
2019-09-16 05:47:07 +02:00
|
|
|
takemoney 300, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_220328:: @ 8220328
|
2019-09-16 05:47:07 +02:00
|
|
|
takemoney 350, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_22032F:: @ 822032F
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 0
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220305
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 1
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_22030C
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 2
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220313
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220442
|
2018-05-19 18:02:43 +02:00
|
|
|
checkitemspace VAR_TEMP_0, 1
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 0
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_22031A
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 1
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220321
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 2
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220328
|
2017-11-10 02:21:31 +01:00
|
|
|
updatemoneybox 0, 0
|
2018-05-19 18:02:43 +02:00
|
|
|
bufferitemname 0, VAR_TEMP_0
|
2017-11-10 02:21:31 +01:00
|
|
|
playse SE_JIHANKI
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205A1, MSGBOX_DEFAULT
|
2018-05-19 18:02:43 +02:00
|
|
|
giveitem VAR_TEMP_0, 1
|
|
|
|
bufferitemname 1, VAR_TEMP_0
|
2019-09-19 00:57:25 +02:00
|
|
|
bufferstdstring 2, STDSTRING_ITEMS
|
2019-03-22 03:10:56 +01:00
|
|
|
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
random 64
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_ne LilycoveCity_DepartmentStoreRooftop_EventScript_220436
|
2018-05-19 18:02:43 +02:00
|
|
|
checkitemspace VAR_TEMP_0, 1
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
|
2017-11-10 02:21:31 +01:00
|
|
|
playse SE_JIHANKI
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205C2, MSGBOX_DEFAULT
|
2018-05-19 18:02:43 +02:00
|
|
|
giveitem VAR_TEMP_0, 1
|
|
|
|
bufferitemname 1, VAR_TEMP_0
|
2019-09-19 00:57:25 +02:00
|
|
|
bufferstdstring 2, STDSTRING_ITEMS
|
2019-03-22 03:10:56 +01:00
|
|
|
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
random 64
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_ne LilycoveCity_DepartmentStoreRooftop_EventScript_220436
|
2018-05-19 18:02:43 +02:00
|
|
|
checkitemspace VAR_TEMP_0, 1
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq LilycoveCity_DepartmentStoreRooftop_EventScript_220450
|
2017-11-10 02:21:31 +01:00
|
|
|
playse SE_JIHANKI
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205C2, MSGBOX_DEFAULT
|
2018-05-19 18:02:43 +02:00
|
|
|
giveitem VAR_TEMP_0, 1
|
|
|
|
bufferitemname 1, VAR_TEMP_0
|
2019-09-19 00:57:25 +02:00
|
|
|
bufferstdstring 2, STDSTRING_ITEMS
|
2019-03-22 03:10:56 +01:00
|
|
|
msgbox gText_PutItemInPocket, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
goto LilycoveCity_DepartmentStoreRooftop_EventScript_220436
|
|
|
|
end
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_220436:: @ 8220436
|
|
|
|
message LilycoveCity_DepartmentStoreRooftop_Text_22056D
|
|
|
|
waitmessage
|
|
|
|
goto LilycoveCity_DepartmentStoreRooftop_EventScript_2202A6
|
|
|
|
end
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_220442:: @ 8220442
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox LilycoveCity_DepartmentStoreRooftop_Text_2205F1, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
goto LilycoveCity_DepartmentStoreRooftop_EventScript_22045E
|
|
|
|
end
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_220450:: @ 8220450
|
2019-08-15 05:38:42 +02:00
|
|
|
msgbox gText_TheBagIsFull, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
goto LilycoveCity_DepartmentStoreRooftop_EventScript_22045E
|
|
|
|
end
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_EventScript_22045E:: @ 822045E
|
|
|
|
hidemoneybox
|
|
|
|
nop
|
|
|
|
nop
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_Text_220463: @ 8220463
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Don't they have set dates for their\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "clear-out sales?\p"
|
|
|
|
.string "I watch TV, but they never show any\n"
|
|
|
|
.string "commercials.$"
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_Text_2204C9: @ 82204C9
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Yes! I've been waiting a long time for\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "this clear-out sale.\p"
|
|
|
|
.string "They have items that you can only get\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "here. I'm going to load up, that I am!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_Text_220552: @ 8220552
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Ohh… I'm bone-dry thirsty!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_Text_22056D: @ 822056D
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "It's a VENDING MACHINE.\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Which drink would you like?$"
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_Text_2205A1: @ 82205A1
|
|
|
|
.string "Clang!\p"
|
|
|
|
.string "A can of {STR_VAR_1} dropped down.$"
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_Text_2205C2: @ 82205C2
|
|
|
|
.string "Clang!\p"
|
|
|
|
.string "Score! An extra can of {STR_VAR_1}\n"
|
|
|
|
.string "dropped down!$"
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_Text_2205F1: @ 82205F1
|
|
|
|
.string "Not enough money…$"
|
|
|
|
|
|
|
|
LilycoveCity_DepartmentStoreRooftop_Text_220603: @ 8220603
|
|
|
|
.string "Decided against buying a drink.$"
|