Document dept store
This commit is contained in:
@@ -1,27 +1,27 @@
|
||||
LilycoveCity_DepartmentStore_1F_MapScripts:: @ 821F692
|
||||
.byte 0
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F693:: @ 821F693
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_21F866, MSGBOX_NPC
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_Greeter:: @ 821F693
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_WelcomeToDeptStore, MSGBOX_NPC
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F69C:: @ 821F69C
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_LotteryClerk:: @ 821F69C
|
||||
lock
|
||||
faceplayer
|
||||
dotimebasedevents
|
||||
compare VAR_POKELOT_PRIZE_ITEM, 0
|
||||
goto_if_ne LilycoveCity_DepartmentStore_1F_EventScript_21F7F7
|
||||
goto_if_set FLAG_DAILY_PICKED_LOTO_TICKET, LilycoveCity_DepartmentStore_1F_EventScript_21F78D
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6390, MSGBOX_YESNO
|
||||
compare VAR_POKELOT_PRIZE_ITEM, ITEM_NONE
|
||||
goto_if_ne LilycoveCity_DepartmentStore_1F_EventScript_GivePrizeFromEarlier
|
||||
goto_if_set FLAG_DAILY_PICKED_LOTO_TICKET, LilycoveCity_DepartmentStore_1F_EventScript_ComeBackTomorrow
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_LotteryCornerDrawTicket, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F797
|
||||
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_PleaseVisitAgain
|
||||
setflag FLAG_DAILY_PICKED_LOTO_TICKET
|
||||
message LilycoveCity_DepartmentStore_1F_Text_2A64C8
|
||||
message LilycoveCity_DepartmentStore_1F_Text_PleasePickTicket
|
||||
waitmessage
|
||||
special RetrieveLotteryNumber
|
||||
copyvar VAR_0x8008, VAR_RESULT
|
||||
special BufferLottoTicketNumber
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_2A650B, MSGBOX_DEFAULT
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_TicketNumberIsXPleaseWait, MSGBOX_DEFAULT
|
||||
applymovement 2, Common_Movement_WalkInPlaceFastestRight
|
||||
waitmovement 0
|
||||
playse SE_PC_ON
|
||||
@@ -33,142 +33,142 @@ LilycoveCity_DepartmentStore_1F_EventScript_21F69C:: @ 821F69C
|
||||
applymovement 2, Common_Movement_FacePlayer
|
||||
waitmovement 0
|
||||
compare VAR_0x8004, 0
|
||||
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7A1
|
||||
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_NoMatch
|
||||
incrementgamestat GAME_STAT_WON_POKEMON_LOTTERY
|
||||
compare VAR_0x8006, 0
|
||||
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F77B
|
||||
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_TicketMatchPartyMon
|
||||
compare VAR_0x8006, 1
|
||||
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F784
|
||||
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_TicketMatchPCMon
|
||||
bufferitemname 0, VAR_0x8005
|
||||
compare VAR_0x8004, 1
|
||||
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7B9
|
||||
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_TwoDigitMatch
|
||||
compare VAR_0x8004, 2
|
||||
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7C2
|
||||
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_ThreeDigitMatch
|
||||
compare VAR_0x8004, 3
|
||||
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7CB
|
||||
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_FourDigitMatch
|
||||
compare VAR_0x8004, 4
|
||||
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7D4
|
||||
call_if_eq LilycoveCity_DepartmentStore_1F_EventScript_FullMatch
|
||||
giveitem_std VAR_0x8005
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7DD
|
||||
special sub_80EE2CC
|
||||
goto LilycoveCity_DepartmentStore_1F_EventScript_21F7AF
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_RecordPrizeNoRoom
|
||||
special TryPutLotteryWinnerReportOnAir
|
||||
goto LilycoveCity_DepartmentStore_1F_EventScript_PleaseVisitAgain2
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F77B:: @ 821F77B
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6592, MSGBOX_DEFAULT
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_TicketMatchPartyMon:: @ 821F77B
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_TicketMatchesPartyMon, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F784:: @ 821F784
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_2A65E6, MSGBOX_DEFAULT
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_TicketMatchPCMon:: @ 821F784
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_TicketMatchesPCMon, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F78D:: @ 821F78D
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6496, MSGBOX_DEFAULT
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_ComeBackTomorrow:: @ 821F78D
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_ComeBackTomorrow, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F797:: @ 821F797
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_2A64B1, MSGBOX_DEFAULT
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_PleaseVisitAgain:: @ 821F797
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_PleaseVisitAgain, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F7A1:: @ 821F7A1
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_2A663C, MSGBOX_DEFAULT
|
||||
goto LilycoveCity_DepartmentStore_1F_EventScript_21F7AF
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_NoMatch:: @ 821F7A1
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_NoNumbersMatched, MSGBOX_DEFAULT
|
||||
goto LilycoveCity_DepartmentStore_1F_EventScript_PleaseVisitAgain2
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F7AF:: @ 821F7AF
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6831, MSGBOX_DEFAULT
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_PleaseVisitAgain2:: @ 821F7AF
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_PleaseVisitAgain2, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F7B9:: @ 821F7B9
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6664, MSGBOX_DEFAULT
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_TwoDigitMatch:: @ 821F7B9
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_TwoDigitsMatched, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F7C2:: @ 821F7C2
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_2A66A7, MSGBOX_DEFAULT
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_ThreeDigitMatch:: @ 821F7C2
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_ThreeDigitsMatched, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F7CB:: @ 821F7CB
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_2A66ED, MSGBOX_DEFAULT
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_FourDigitMatch:: @ 821F7CB
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_FourDigitsMatched, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F7D4:: @ 821F7D4
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_2A6731, MSGBOX_DEFAULT
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_FullMatch:: @ 821F7D4
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_AllFiveDigitsMatched, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F7DD:: @ 821F7DD
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_RecordPrizeNoRoom:: @ 821F7DD
|
||||
copyvar VAR_POKELOT_PRIZE_PLACE, VAR_0x8004
|
||||
copyvar VAR_POKELOT_PRIZE_ITEM, VAR_0x8005
|
||||
goto LilycoveCity_DepartmentStore_1F_EventScript_21F7ED
|
||||
goto LilycoveCity_DepartmentStore_1F_EventScript_NoRoomForPrize
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F7ED:: @ 821F7ED
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_2A678C, MSGBOX_DEFAULT
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_NoRoomForPrize:: @ 821F7ED
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_NoRoomForThis, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F7F7:: @ 821F7F7
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_2A67E1, MSGBOX_DEFAULT
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_GivePrizeFromEarlier:: @ 821F7F7
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_PrizeWeveBeenHolding, MSGBOX_DEFAULT
|
||||
giveitem_std VAR_POKELOT_PRIZE_ITEM
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_21F7ED
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq LilycoveCity_DepartmentStore_1F_EventScript_NoRoomForPrize
|
||||
copyvar VAR_0x8004, VAR_POKELOT_PRIZE_PLACE
|
||||
copyvar VAR_0x8005, VAR_POKELOT_PRIZE_ITEM
|
||||
special sub_80EE2CC
|
||||
setvar VAR_POKELOT_PRIZE_ITEM, 0
|
||||
special TryPutLotteryWinnerReportOnAir
|
||||
setvar VAR_POKELOT_PRIZE_ITEM, ITEM_NONE
|
||||
setvar VAR_POKELOT_PRIZE_PLACE, 0
|
||||
release
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F82F:: @ 821F82F
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_21F88C, MSGBOX_NPC
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_PokefanF:: @ 821F82F
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_IBuyAllSortsOfThings, MSGBOX_NPC
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F838:: @ 821F838
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_21F8F5, MSGBOX_NPC
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_LittleGirl:: @ 821F838
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_MomBuyingMeFurniture, MSGBOX_NPC
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F841:: @ 821F841
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_21F92B, MSGBOX_NPC
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_PokefanM:: @ 821F841
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_BuyingSomethingForAzumarill, MSGBOX_NPC
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F84A:: @ 821F84A
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_Azumarill:: @ 821F84A
|
||||
lock
|
||||
faceplayer
|
||||
waitse
|
||||
playmoncry SPECIES_AZUMARILL, 0
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_21F974, MSGBOX_DEFAULT
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_Azumarill, MSGBOX_DEFAULT
|
||||
waitmoncry
|
||||
release
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_21F85D:: @ 821F85D
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_21F98A, MSGBOX_SIGN
|
||||
LilycoveCity_DepartmentStore_1F_EventScript_FloorNamesSign:: @ 821F85D
|
||||
msgbox LilycoveCity_DepartmentStore_1F_Text_FloorNamesSign, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_Text_21F866: @ 821F866
|
||||
LilycoveCity_DepartmentStore_1F_Text_WelcomeToDeptStore: @ 821F866
|
||||
.string "Welcome to LILYCOVE DEPARTMENT STORE.$"
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_Text_21F88C: @ 821F88C
|
||||
LilycoveCity_DepartmentStore_1F_Text_IBuyAllSortsOfThings: @ 821F88C
|
||||
.string "Whenever I come to the DEPARTMENT\n"
|
||||
.string "STORE, I always end up buying all sorts\l"
|
||||
.string "of things because it's so fun.$"
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_Text_21F8F5: @ 821F8F5
|
||||
LilycoveCity_DepartmentStore_1F_Text_MomBuyingMeFurniture: @ 821F8F5
|
||||
.string "Today, my mom is going to buy me some\n"
|
||||
.string "nice furniture.$"
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_Text_21F92B: @ 821F92B
|
||||
LilycoveCity_DepartmentStore_1F_Text_BuyingSomethingForAzumarill: @ 821F92B
|
||||
.string "I'm buying something for my AZUMARILL\n"
|
||||
.string "as a reward for winning a CONTEST.$"
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_Text_21F974: @ 821F974
|
||||
LilycoveCity_DepartmentStore_1F_Text_Azumarill: @ 821F974
|
||||
.string "AZUMARILL: Maririroo!$"
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_Text_21F98A: @ 821F98A
|
||||
LilycoveCity_DepartmentStore_1F_Text_FloorNamesSign: @ 821F98A
|
||||
.string "1F: SERVICE COUNTER\n"
|
||||
.string " LOTTERY CORNER\p"
|
||||
.string "2F: TRAINER'S ZONE\p"
|
||||
@@ -177,7 +177,8 @@ LilycoveCity_DepartmentStore_1F_Text_21F98A: @ 821F98A
|
||||
.string "5F: POKé DOLL FLOOR\p"
|
||||
.string "ROOFTOP: ROOFTOP PLAZA$"
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_Text_21FA13: @ 821FA13
|
||||
@ Unused
|
||||
LilycoveCity_DepartmentStore_1F_Text_WirelessCommIsFun: @ 821FA13
|
||||
.string "Wireless Communication is a\n"
|
||||
.string "lot of fun, isn't it?\p"
|
||||
.string "I think it lets you do things that\n"
|
||||
@@ -186,7 +187,8 @@ LilycoveCity_DepartmentStore_1F_Text_21FA13: @ 821FA13
|
||||
.string "with people you couldn't before.\p"
|
||||
.string "I think it's going to be exciting!$"
|
||||
|
||||
LilycoveCity_DepartmentStore_1F_Text_21FAE5: @ 821FAE5
|
||||
@ Unused
|
||||
LilycoveCity_DepartmentStore_1F_Text_SpreadWordAboutWirelessComm: @ 821FAE5
|
||||
.string "I want to spread the word about how\n"
|
||||
.string "fun Wireless Communication can be.$"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user