Document Celadon City scripts
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_16C022",
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_CooltrainerM",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_16BCCD",
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_ThirstyGirl",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -56,28 +56,28 @@
|
||||
"x": 14,
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_16C02B"
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_FloorSign"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 10,
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_16C034"
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_VendingMachine"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 11,
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_16C034"
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_VendingMachine"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 12,
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_16C034"
|
||||
"script": "CeladonCity_DepartmentStore_Roof_EventScript_VendingMachine"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,152 +1,152 @@
|
||||
CeladonCity_DepartmentStore_Roof_MapScripts:: @ 816BCCC
|
||||
.byte 0
|
||||
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_16BCCD:: @ 816BCCD
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_ThirstyGirl:: @ 816BCCD
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
special sub_8112364
|
||||
lock
|
||||
faceplayer
|
||||
call EventScript_16BCF6
|
||||
call CeladonCity_DepartmentStore_Roof_EventScript_CheckPlayerHasDrinks
|
||||
compare VAR_TEMP_1, 0
|
||||
goto_if_eq EventScript_16C00E
|
||||
goto EventScript_16BD3E
|
||||
goto_if_eq CeladonCity_DepartmentStore_Roof_EventScript_IWantDrink
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_AskGiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BCF6:: @ 816BCF6
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_CheckPlayerHasDrinks:: @ 816BCF6
|
||||
setvar VAR_TEMP_1, 0
|
||||
checkitem ITEM_FRESH_WATER, 1
|
||||
compare VAR_RESULT, TRUE
|
||||
call_if_eq EventScript_16BD2C
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_SetHasFreshWater
|
||||
checkitem ITEM_SODA_POP, 1
|
||||
compare VAR_RESULT, TRUE
|
||||
call_if_eq EventScript_16BD32
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_SetHasSodaPop
|
||||
checkitem ITEM_LEMONADE, 1
|
||||
compare VAR_RESULT, TRUE
|
||||
call_if_eq EventScript_16BD38
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_SetHasLemonade
|
||||
return
|
||||
|
||||
EventScript_16BD2C:: @ 816BD2C
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_SetHasFreshWater:: @ 816BD2C
|
||||
addvar VAR_TEMP_1, 1
|
||||
return
|
||||
|
||||
EventScript_16BD32:: @ 816BD32
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_SetHasSodaPop:: @ 816BD32
|
||||
addvar VAR_TEMP_1, 2
|
||||
return
|
||||
|
||||
EventScript_16BD38:: @ 816BD38
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_SetHasLemonade:: @ 816BD38
|
||||
addvar VAR_TEMP_1, 4
|
||||
return
|
||||
|
||||
EventScript_16BD3E:: @ 816BD3E
|
||||
msgbox gUnknown_8195D22, MSGBOX_YESNO
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveDrink:: @ 816BD3E
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_ImThirstyGiveHerDrink, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq EventScript_16C00C
|
||||
goto_if_eq CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
textcolor 3
|
||||
message Text_195D5F
|
||||
message CeladonCity_DepartmentStore_Roof_Text_GiveWhichDrink
|
||||
waitmessage
|
||||
textcolor 1
|
||||
switch VAR_TEMP_1
|
||||
case 1, EventScript_16BDAE
|
||||
case 2, EventScript_16BDDA
|
||||
case 3, EventScript_16BE06
|
||||
case 4, EventScript_16BE3D
|
||||
case 5, EventScript_16BE69
|
||||
case 6, EventScript_16BEA0
|
||||
case 7, EventScript_16BED7
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWater
|
||||
case 2, CeladonCity_DepartmentStore_Roof_EventScript_AskGiveSodaPop
|
||||
case 3, CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWaterSodaPop
|
||||
case 4, CeladonCity_DepartmentStore_Roof_EventScript_AskGiveLemonade
|
||||
case 5, CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWaterLemonade
|
||||
case 6, CeladonCity_DepartmentStore_Roof_EventScript_AskGiveSodaPopLemonade
|
||||
case 7, CeladonCity_DepartmentStore_Roof_EventScript_AskGiveAllDrinks
|
||||
end
|
||||
|
||||
EventScript_16BDAE:: @ 816BDAE
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWater:: @ 816BDAE
|
||||
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_FRESH_WATER, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16BF19
|
||||
case 1, EventScript_16C00C
|
||||
case 127, EventScript_16C00C
|
||||
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveFreshWater
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BDDA:: @ 816BDDA
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveSodaPop:: @ 816BDDA
|
||||
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_SODA_POP, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16BF3A
|
||||
case 1, EventScript_16C00C
|
||||
case 127, EventScript_16C00C
|
||||
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveSodaPop
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BE06:: @ 816BE06
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWaterSodaPop:: @ 816BE06
|
||||
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_FRESH_WATER_SODA_POP, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16BF19
|
||||
case 1, EventScript_16BF3A
|
||||
case 2, EventScript_16C00C
|
||||
case 127, EventScript_16C00C
|
||||
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveFreshWater
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_GiveSodaPop
|
||||
case 2, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BE3D:: @ 816BE3D
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveLemonade:: @ 816BE3D
|
||||
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_LEMONADE, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16BF5B
|
||||
case 1, EventScript_16C00C
|
||||
case 127, EventScript_16C00C
|
||||
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveLemonade
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BE69:: @ 816BE69
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWaterLemonade:: @ 816BE69
|
||||
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_FRESH_WATER_LEMONADE, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16BF19
|
||||
case 1, EventScript_16BF5B
|
||||
case 2, EventScript_16C00C
|
||||
case 127, EventScript_16C00C
|
||||
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveFreshWater
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_GiveLemonade
|
||||
case 2, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BEA0:: @ 816BEA0
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveSodaPopLemonade:: @ 816BEA0
|
||||
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_SODA_POP_LEMONADE, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16BF3A
|
||||
case 1, EventScript_16BF5B
|
||||
case 2, EventScript_16C00C
|
||||
case 127, EventScript_16C00C
|
||||
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveSodaPop
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_GiveLemonade
|
||||
case 2, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BED7:: @ 816BED7
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveAllDrinks:: @ 816BED7
|
||||
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_FRESH_WATER_SODA_POP_LEMONADE, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_16BF19
|
||||
case 1, EventScript_16BF3A
|
||||
case 2, EventScript_16BF5B
|
||||
case 3, EventScript_16C00C
|
||||
case 127, EventScript_16C00C
|
||||
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveFreshWater
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_GiveSodaPop
|
||||
case 2, CeladonCity_DepartmentStore_Roof_EventScript_GiveLemonade
|
||||
case 3, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BF19:: @ 816BF19
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_GiveFreshWater:: @ 816BF19
|
||||
setvar VAR_0x8008, ITEM_FRESH_WATER
|
||||
setvar VAR_0x8009, ITEM_TM16
|
||||
goto_if_set FLAG_GOT_TM16_FROM_THIRSTY_GIRL, EventScript_16C018
|
||||
msgbox gUnknown_8195D75
|
||||
goto EventScript_16BF7C
|
||||
goto_if_set FLAG_GOT_TM16_FROM_THIRSTY_GIRL, CeladonCity_DepartmentStore_Roof_EventScript_NotThirstyAfterAll
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_YayFreshWaterHaveThis
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_GiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BF3A:: @ 816BF3A
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_GiveSodaPop:: @ 816BF3A
|
||||
setvar VAR_0x8008, ITEM_SODA_POP
|
||||
setvar VAR_0x8009, ITEM_TM20
|
||||
goto_if_set FLAG_GOT_TM20_FROM_THIRSTY_GIRL, EventScript_16C018
|
||||
msgbox gUnknown_8195E33
|
||||
goto EventScript_16BF7C
|
||||
goto_if_set FLAG_GOT_TM20_FROM_THIRSTY_GIRL, CeladonCity_DepartmentStore_Roof_EventScript_NotThirstyAfterAll
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_YaySodaPopHaveThis
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_GiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BF5B:: @ 816BF5B
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_GiveLemonade:: @ 816BF5B
|
||||
setvar VAR_0x8008, ITEM_LEMONADE
|
||||
setvar VAR_0x8009, ITEM_TM33
|
||||
goto_if_set FLAG_GOT_TM33_FROM_THIRSTY_GIRL, EventScript_16C018
|
||||
msgbox gUnknown_8195EBF
|
||||
goto EventScript_16BF7C
|
||||
goto_if_set FLAG_GOT_TM33_FROM_THIRSTY_GIRL, CeladonCity_DepartmentStore_Roof_EventScript_NotThirstyAfterAll
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_YayLemonadeHaveThis
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_GiveDrink
|
||||
end
|
||||
|
||||
EventScript_16BF7C:: @ 816BF7C
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_GiveDrink:: @ 816BF7C
|
||||
getitemname 0, VAR_0x8008
|
||||
getitemname 1, VAR_0x8009
|
||||
removeitem VAR_0x8008, 1
|
||||
checkitemspace VAR_0x8009, 1
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq EventScript_16C002
|
||||
goto_if_eq CeladonCity_DepartmentStore_Roof_EventScript_NoRoomForReward
|
||||
additem VAR_0x8009
|
||||
textcolor 3
|
||||
playfanfare MUS_FANFA1
|
||||
@@ -156,142 +156,142 @@ EventScript_16BF7C:: @ 816BF7C
|
||||
putitemaway VAR_0x8009
|
||||
call EventScript_1A6675
|
||||
compare VAR_0x8008, ITEM_FRESH_WATER
|
||||
call_if_eq EventScript_16BFDE
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM16
|
||||
compare VAR_0x8008, ITEM_SODA_POP
|
||||
call_if_eq EventScript_16BFEA
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM20
|
||||
compare VAR_0x8008, ITEM_LEMONADE
|
||||
call_if_eq EventScript_16BFF6
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM33
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16BFDE:: @ 816BFDE
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM16:: @ 816BFDE
|
||||
setflag FLAG_GOT_TM16_FROM_THIRSTY_GIRL
|
||||
msgbox gUnknown_8195DD4
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_ExplainTM16
|
||||
return
|
||||
|
||||
EventScript_16BFEA:: @ 816BFEA
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM20:: @ 816BFEA
|
||||
setflag FLAG_GOT_TM20_FROM_THIRSTY_GIRL
|
||||
msgbox gUnknown_8195E68
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_ExplainTM20
|
||||
return
|
||||
|
||||
EventScript_16BFF6:: @ 816BFF6
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM33:: @ 816BFF6
|
||||
setflag FLAG_GOT_TM33_FROM_THIRSTY_GIRL
|
||||
msgbox gUnknown_8195EF4
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_ExplainTM33
|
||||
return
|
||||
|
||||
EventScript_16C002:: @ 816C002
|
||||
msgbox gUnknown_8195F4F
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_NoRoomForReward:: @ 816C002
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_DontHaveSpaceForThis
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16C00C:: @ 816C00C
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink:: @ 816C00C
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16C00E:: @ 816C00E
|
||||
msgbox gUnknown_8195FEF
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_IWantDrink:: @ 816C00E
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_ImThirstyIWantDrink
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16C018:: @ 816C018
|
||||
msgbox gUnknown_8195F6E
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_NotThirstyAfterAll:: @ 816C018
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_ImNotThirstyAfterAll
|
||||
release
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_16C022:: @ 816C022
|
||||
msgbox gUnknown_8195F98, MSGBOX_NPC
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_CooltrainerM:: @ 816C022
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_MySisterIsImmature, MSGBOX_NPC
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_16C02B:: @ 816C02B
|
||||
msgbox gUnknown_8196017, MSGBOX_SIGN
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_FloorSign:: @ 816C02B
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_FloorSign, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_16C034:: @ 816C034
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_VendingMachine:: @ 816C034
|
||||
lockall
|
||||
message Text_196038
|
||||
message CeladonCity_DepartmentStore_Roof_Text_VendingMachineWhatDoesItHave
|
||||
waitmessage
|
||||
showmoneybox 0, 0, 0
|
||||
goto EventScript_16C045
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_ChooseDrink
|
||||
end
|
||||
|
||||
EventScript_16C045:: @ 816C045
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_ChooseDrink:: @ 816C045
|
||||
multichoice 12, 0, MULTICHOICE_CELADON_VENDING_MACHINE, FALSE
|
||||
copyvar VAR_TEMP_1, VAR_RESULT
|
||||
switch VAR_TEMP_1
|
||||
case 0, EventScript_16C083
|
||||
case 1, EventScript_16C094
|
||||
case 2, EventScript_16C0A5
|
||||
msgbox gUnknown_81960AE
|
||||
goto EventScript_16C14D
|
||||
case 0, CeladonCity_DepartmentStore_Roof_EventScript_BuyFreshWater
|
||||
case 1, CeladonCity_DepartmentStore_Roof_EventScript_BuySodaPop
|
||||
case 2, CeladonCity_DepartmentStore_Roof_EventScript_BuyLemonade
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_NotThirsty
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_ExitVendingMachine
|
||||
end
|
||||
|
||||
EventScript_16C083:: @ 816C083
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_BuyFreshWater:: @ 816C083
|
||||
setvar VAR_TEMP_0, ITEM_FRESH_WATER
|
||||
checkmoney 200, 0
|
||||
goto EventScript_16C0CB
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_TryBuyDrink
|
||||
end
|
||||
|
||||
EventScript_16C094:: @ 816C094
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_BuySodaPop:: @ 816C094
|
||||
setvar VAR_TEMP_0, ITEM_SODA_POP
|
||||
checkmoney 300, 0
|
||||
goto EventScript_16C0CB
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_TryBuyDrink
|
||||
end
|
||||
|
||||
EventScript_16C0A5:: @ 816C0A5
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_BuyLemonade:: @ 816C0A5
|
||||
setvar VAR_TEMP_0, ITEM_LEMONADE
|
||||
checkmoney 350, 0
|
||||
goto EventScript_16C0CB
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_TryBuyDrink
|
||||
end
|
||||
|
||||
EventScript_16C0B6:: @ 816C0B6
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneyFreshWater:: @ 816C0B6
|
||||
removemoney 200, 0
|
||||
return
|
||||
|
||||
EventScript_16C0BD:: @ 816C0BD
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneySodaPop:: @ 816C0BD
|
||||
removemoney 300, 0
|
||||
return
|
||||
|
||||
EventScript_16C0C4:: @ 816C0C4
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneyLemonade:: @ 816C0C4
|
||||
removemoney 350, 0
|
||||
return
|
||||
|
||||
EventScript_16C0CB:: @ 816C0CB
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_TryBuyDrink:: @ 816C0CB
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq EventScript_16C131
|
||||
goto_if_eq CeladonCity_DepartmentStore_Roof_EventScript_NotEnoughMoney
|
||||
checkitemspace VAR_TEMP_0, 1
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq EventScript_16C13F
|
||||
goto_if_eq CeladonCity_DepartmentStore_Roof_EventScript_NoRoomForDrink
|
||||
compare VAR_TEMP_1, 0
|
||||
call_if_eq EventScript_16C0B6
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneyFreshWater
|
||||
compare VAR_TEMP_1, 1
|
||||
call_if_eq EventScript_16C0BD
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneySodaPop
|
||||
compare VAR_TEMP_1, 2
|
||||
call_if_eq EventScript_16C0C4
|
||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneyLemonade
|
||||
updatemoneybox 0, 0, 0
|
||||
getitemname 0, VAR_TEMP_0
|
||||
playse SE_JIHANKI
|
||||
msgbox gUnknown_8196076
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_DrinkCanPoppedOut
|
||||
additem VAR_TEMP_0
|
||||
goto EventScript_16C125
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_ChooseNewDrink
|
||||
end
|
||||
|
||||
EventScript_16C125:: @ 816C125
|
||||
message Text_196038
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_ChooseNewDrink:: @ 816C125
|
||||
message CeladonCity_DepartmentStore_Roof_Text_VendingMachineWhatDoesItHave
|
||||
waitmessage
|
||||
goto EventScript_16C045
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_ChooseDrink
|
||||
end
|
||||
|
||||
EventScript_16C131:: @ 816C131
|
||||
msgbox gUnknown_819605E
|
||||
goto EventScript_16C14D
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_NotEnoughMoney:: @ 816C131
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_NotEnoughMoney
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_ExitVendingMachine
|
||||
end
|
||||
|
||||
EventScript_16C13F:: @ 816C13F
|
||||
msgbox gUnknown_819608E
|
||||
goto EventScript_16C14D
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_NoRoomForDrink:: @ 816C13F
|
||||
msgbox CeladonCity_DepartmentStore_Roof_Text_NoMoreRoomForStuff
|
||||
goto CeladonCity_DepartmentStore_Roof_EventScript_ExitVendingMachine
|
||||
end
|
||||
|
||||
EventScript_16C14D:: @ 816C14D
|
||||
CeladonCity_DepartmentStore_Roof_EventScript_ExitVendingMachine:: @ 816C14D
|
||||
hidemoneybox 0, 0
|
||||
releaseall
|
||||
end
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
gUnknown_8195D22:: @ 8195D22
|
||||
CeladonCity_DepartmentStore_Roof_Text_ImThirstyGiveHerDrink:: @ 8195D22
|
||||
.string "I'm thirsty!\n"
|
||||
.string "I want something to drink!\p"
|
||||
.string "{SIZE}ÁGive her a drink?$"
|
||||
|
||||
Text_195D5F:: @ 8195D5F
|
||||
CeladonCity_DepartmentStore_Roof_Text_GiveWhichDrink:: @ 8195D5F
|
||||
.string "Give her which drink?$"
|
||||
|
||||
gUnknown_8195D75:: @ 8195D75
|
||||
CeladonCity_DepartmentStore_Roof_Text_YayFreshWaterHaveThis:: @ 8195D75
|
||||
.string "Yay!\p"
|
||||
.string "FRESH WATER!\p"
|
||||
.string "Thank you!\n"
|
||||
@@ -16,67 +16,67 @@ Text_ReceivedItemFromLittleGirl:: @ 8195DAD
|
||||
.string "{PLAYER} received a {STR_VAR_2}\n"
|
||||
.string "from the little girl.$"
|
||||
|
||||
gUnknown_8195DD4:: @ 8195DD4
|
||||
CeladonCity_DepartmentStore_Roof_Text_ExplainTM16:: @ 8195DD4
|
||||
.string "TM16 contains LIGHT SCREEN.\p"
|
||||
.string "It's a move that weakens the power\n"
|
||||
.string "of special attacks by your foe.$"
|
||||
|
||||
gUnknown_8195E33:: @ 8195E33
|
||||
CeladonCity_DepartmentStore_Roof_Text_YaySodaPopHaveThis:: @ 8195E33
|
||||
.string "Yay!\p"
|
||||
.string "SODA POP!\p"
|
||||
.string "Thank you!\n"
|
||||
.string "You can have this from me!$"
|
||||
|
||||
gUnknown_8195E68:: @ 8195E68
|
||||
CeladonCity_DepartmentStore_Roof_Text_ExplainTM20:: @ 8195E68
|
||||
.string "TM20 contains SAFEGUARD.\p"
|
||||
.string "It's a move that prevents status\n"
|
||||
.string "problems among your POKéMON.$"
|
||||
|
||||
gUnknown_8195EBF:: @ 8195EBF
|
||||
CeladonCity_DepartmentStore_Roof_Text_YayLemonadeHaveThis:: @ 8195EBF
|
||||
.string "Yay!\p"
|
||||
.string "LEMONADE!\p"
|
||||
.string "Thank you!\n"
|
||||
.string "You can have this from me!$"
|
||||
|
||||
gUnknown_8195EF4:: @ 8195EF4
|
||||
CeladonCity_DepartmentStore_Roof_Text_ExplainTM33:: @ 8195EF4
|
||||
.string "TM33 contains REFLECT.\p"
|
||||
.string "It's a move that weakens the power\n"
|
||||
.string "of physical attacks by your foe.$"
|
||||
|
||||
gUnknown_8195F4F:: @ 8195F4F
|
||||
CeladonCity_DepartmentStore_Roof_Text_DontHaveSpaceForThis:: @ 8195F4F
|
||||
.string "You don't have space for this!$"
|
||||
|
||||
gUnknown_8195F6E:: @ 8195F6E
|
||||
CeladonCity_DepartmentStore_Roof_Text_ImNotThirstyAfterAll:: @ 8195F6E
|
||||
.string "No, thank you!\n"
|
||||
.string "I'm not thirsty after all!$"
|
||||
|
||||
gUnknown_8195F98:: @ 8195F98
|
||||
CeladonCity_DepartmentStore_Roof_Text_MySisterIsImmature:: @ 8195F98
|
||||
.string "My sister is a TRAINER, believe it\n"
|
||||
.string "or not.\p"
|
||||
.string "But, she's so immature, she drives\n"
|
||||
.string "me nuts!$"
|
||||
|
||||
gUnknown_8195FEF:: @ 8195FEF
|
||||
CeladonCity_DepartmentStore_Roof_Text_ImThirstyIWantDrink:: @ 8195FEF
|
||||
.string "I'm thirsty!\n"
|
||||
.string "I want something to drink!$"
|
||||
|
||||
gUnknown_8196017:: @ 8196017
|
||||
CeladonCity_DepartmentStore_Roof_Text_FloorSign:: @ 8196017
|
||||
.string "ROOFTOP SQUARE:\n"
|
||||
.string "VENDING MACHINES$"
|
||||
|
||||
Text_196038:: @ 8196038
|
||||
CeladonCity_DepartmentStore_Roof_Text_VendingMachineWhatDoesItHave:: @ 8196038
|
||||
.string "A vending machine!\n"
|
||||
.string "What does it have?$"
|
||||
|
||||
gUnknown_819605E:: @ 819605E
|
||||
CeladonCity_DepartmentStore_Roof_Text_NotEnoughMoney:: @ 819605E
|
||||
.string "Oops, not enough money!$"
|
||||
|
||||
gUnknown_8196076:: @ 8196076
|
||||
CeladonCity_DepartmentStore_Roof_Text_DrinkCanPoppedOut:: @ 8196076
|
||||
.string "A can of {STR_VAR_1} popped out!$"
|
||||
|
||||
gUnknown_819608E:: @ 819608E
|
||||
CeladonCity_DepartmentStore_Roof_Text_NoMoreRoomForStuff:: @ 819608E
|
||||
.string "There's no more room for stuff!$"
|
||||
|
||||
gUnknown_81960AE:: @ 81960AE
|
||||
CeladonCity_DepartmentStore_Roof_Text_NotThirsty:: @ 81960AE
|
||||
.string "Not thirsty!$"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user