pokecrystal-board/maps/GoldenrodUnderground.asm

680 lines
17 KiB
NASM
Raw Normal View History

GOLDENRODUNDERGROUND_OLDER_HAIRCUT_PRICE EQU 500
GOLDENRODUNDERGROUND_YOUNGER_HAIRCUT_PRICE EQU 300
object_const_def ; object_event constants
const GOLDENRODUNDERGROUND_SUPER_NERD1
const GOLDENRODUNDERGROUND_SUPER_NERD2
const GOLDENRODUNDERGROUND_SUPER_NERD3
const GOLDENRODUNDERGROUND_SUPER_NERD4
const GOLDENRODUNDERGROUND_POKE_BALL
const GOLDENRODUNDERGROUND_GRAMPS
const GOLDENRODUNDERGROUND_OLDER_HAIRCUT_BROTHER
const GOLDENRODUNDERGROUND_YOUNGER_HAIRCUT_BROTHER
const GOLDENRODUNDERGROUND_GRANNY
GoldenrodUnderground_MapScripts:
db 0 ; scene scripts
db 3 ; callbacks
callback MAPCALLBACK_NEWMAP, .ResetSwitches
callback MAPCALLBACK_TILES, .CheckBasementKey
callback MAPCALLBACK_OBJECTS, .CheckDayOfWeek
.ResetSwitches:
2013-09-24 00:48:58 -07:00
clearevent EVENT_SWITCH_1
clearevent EVENT_SWITCH_2
clearevent EVENT_SWITCH_3
clearevent EVENT_EMERGENCY_SWITCH
clearevent EVENT_SWITCH_4
clearevent EVENT_SWITCH_5
clearevent EVENT_SWITCH_6
clearevent EVENT_SWITCH_7
clearevent EVENT_SWITCH_8
clearevent EVENT_SWITCH_9
clearevent EVENT_SWITCH_10
clearevent EVENT_SWITCH_11
clearevent EVENT_SWITCH_12
clearevent EVENT_SWITCH_13
clearevent EVENT_SWITCH_14
setval 0
writemem wUndergroundSwitchPositions
return
.CheckBasementKey:
2013-09-24 00:48:58 -07:00
checkevent EVENT_USED_BASEMENT_KEY
iffalse .LockBasementDoor
return
.LockBasementDoor:
2018-01-17 10:23:43 -08:00
changeblock 18, 6, $3d ; locked door
return
.CheckDayOfWeek:
readvar VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifequal MONDAY, .Monday
ifequal TUESDAY, .Tuesday
ifequal WEDNESDAY, .Wednesday
ifequal THURSDAY, .Thursday
ifequal FRIDAY, .Friday
ifequal SATURDAY, .Saturday
.Sunday:
disappear GOLDENRODUNDERGROUND_GRAMPS
disappear GOLDENRODUNDERGROUND_OLDER_HAIRCUT_BROTHER
appear GOLDENRODUNDERGROUND_YOUNGER_HAIRCUT_BROTHER
appear GOLDENRODUNDERGROUND_GRANNY
return
.Monday:
disappear GOLDENRODUNDERGROUND_GRAMPS
checktime MORN
iffalse .NotMondayMorning
appear GOLDENRODUNDERGROUND_GRAMPS
.NotMondayMorning:
disappear GOLDENRODUNDERGROUND_OLDER_HAIRCUT_BROTHER
disappear GOLDENRODUNDERGROUND_YOUNGER_HAIRCUT_BROTHER
disappear GOLDENRODUNDERGROUND_GRANNY
return
.Tuesday:
disappear GOLDENRODUNDERGROUND_GRAMPS
appear GOLDENRODUNDERGROUND_OLDER_HAIRCUT_BROTHER
disappear GOLDENRODUNDERGROUND_YOUNGER_HAIRCUT_BROTHER
disappear GOLDENRODUNDERGROUND_GRANNY
return
.Wednesday:
disappear GOLDENRODUNDERGROUND_GRAMPS
disappear GOLDENRODUNDERGROUND_OLDER_HAIRCUT_BROTHER
appear GOLDENRODUNDERGROUND_YOUNGER_HAIRCUT_BROTHER
disappear GOLDENRODUNDERGROUND_GRANNY
return
.Thursday:
disappear GOLDENRODUNDERGROUND_GRAMPS
appear GOLDENRODUNDERGROUND_OLDER_HAIRCUT_BROTHER
disappear GOLDENRODUNDERGROUND_YOUNGER_HAIRCUT_BROTHER
disappear GOLDENRODUNDERGROUND_GRANNY
return
.Friday:
disappear GOLDENRODUNDERGROUND_GRAMPS
disappear GOLDENRODUNDERGROUND_OLDER_HAIRCUT_BROTHER
appear GOLDENRODUNDERGROUND_YOUNGER_HAIRCUT_BROTHER
disappear GOLDENRODUNDERGROUND_GRANNY
return
.Saturday:
disappear GOLDENRODUNDERGROUND_GRAMPS
appear GOLDENRODUNDERGROUND_OLDER_HAIRCUT_BROTHER
disappear GOLDENRODUNDERGROUND_YOUNGER_HAIRCUT_BROTHER
appear GOLDENRODUNDERGROUND_GRANNY
return
2015-07-10 01:20:21 -07:00
TrainerSupernerdEric:
trainer SUPER_NERD, ERIC, EVENT_BEAT_SUPER_NERD_ERIC, SupernerdEricSeenText, SupernerdEricBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext SupernerdEricAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSupernerdTeru:
trainer SUPER_NERD, TERU, EVENT_BEAT_SUPER_NERD_TERU, SupernerdTeruSeenText, SupernerdTeruBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext SupernerdTeruAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerPokemaniacIssac:
trainer POKEMANIAC, ISSAC, EVENT_BEAT_POKEMANIAC_ISSAC, PokemaniacIssacSeenText, PokemaniacIssacBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext PokemaniacIssacAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerPokemaniacDonald:
trainer POKEMANIAC, DONALD, EVENT_BEAT_POKEMANIAC_DONALD, PokemaniacDonaldSeenText, PokemaniacDonaldBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext PokemaniacDonaldAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-03-01 10:18:51 -08:00
BitterMerchantScript:
2015-12-09 15:25:44 -08:00
opentext
readvar VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifequal SUNDAY, .Open
ifequal SATURDAY, .Open
sjump GoldenrodUndergroundScript_ShopClosed
.Open:
2015-11-02 14:38:08 -08:00
pokemart MARTTYPE_BITTER, MART_UNDERGROUND
2015-11-25 07:16:29 -08:00
closetext
end
2018-03-01 10:18:51 -08:00
BargainMerchantScript:
2015-12-09 15:25:44 -08:00
opentext
2015-07-10 05:08:03 -07:00
checkflag ENGINE_GOLDENROD_UNDERGROUND_MERCHANT_CLOSED
iftrue GoldenrodUndergroundScript_ShopClosed
readvar VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifequal MONDAY, .CheckMorn
sjump GoldenrodUndergroundScript_ShopClosed
.CheckMorn:
checktime MORN
iffalse GoldenrodUndergroundScript_ShopClosed
2015-11-02 14:38:08 -08:00
pokemart MARTTYPE_BARGAIN, 0
2015-11-25 07:16:29 -08:00
closetext
end
OlderHaircutBrotherScript:
2015-12-09 15:25:44 -08:00
opentext
readvar VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifequal TUESDAY, .DoHaircut
ifequal THURSDAY, .DoHaircut
ifequal SATURDAY, .DoHaircut
sjump GoldenrodUndergroundScript_ShopClosed
.DoHaircut:
2015-07-10 05:08:03 -07:00
checkflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
iftrue .AlreadyGotHaircut
special PlaceMoneyTopRight
writetext GoldenrodUndergroundOlderHaircutBrotherOfferHaircutText
yesorno
iffalse .Refused
checkmoney YOUR_MONEY, GOLDENRODUNDERGROUND_OLDER_HAIRCUT_PRICE
2018-02-02 18:09:17 -08:00
ifequal HAVE_LESS, .NotEnoughMoney
writetext GoldenrodUndergroundOlderHaircutBrotherAskWhichMonText
2019-11-03 09:48:54 -08:00
promptbutton
special OlderHaircutBrother
2018-02-02 18:09:17 -08:00
ifequal $0, .Refused
ifequal $1, .Refused
2015-07-10 05:08:03 -07:00
setflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
2018-02-02 18:09:17 -08:00
ifequal $2, .two
ifequal $3, .three
sjump .else
.two
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
clearevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
clearevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_3
sjump .then
.three
clearevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
clearevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_3
sjump .then
.else
clearevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
clearevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_3
sjump .then
.then
takemoney YOUR_MONEY, GOLDENRODUNDERGROUND_OLDER_HAIRCUT_PRICE
special PlaceMoneyTopRight
writetext GoldenrodUndergroundOlderHaircutBrotherWatchItBecomeBeautifulText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
special FadeOutPalettes
playmusic MUSIC_HEAL
pause 60
special FadeInPalettes
special RestartMapMusic
2015-12-09 15:25:44 -08:00
opentext
writetext GoldenrodUndergroundOlderHaircutBrotherAllDoneText
2015-11-25 07:16:29 -08:00
waitbutton
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
2018-03-01 10:18:51 -08:00
iftrue EitherHaircutBrotherScript_SlightlyHappier
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
2018-03-01 10:18:51 -08:00
iftrue EitherHaircutBrotherScript_Happier
sjump EitherHaircutBrotherScript_MuchHappier
.Refused:
writetext GoldenrodUndergroundOlderHaircutBrotherThatsAShameText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.NotEnoughMoney:
writetext GoldenrodUndergroundOlderHaircutBrotherYoullNeedMoreMoneyText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.AlreadyGotHaircut:
writetext GoldenrodUndergroundOlderHaircutBrotherOneHaircutADayText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
YoungerHaircutBrotherScript:
2015-12-09 15:25:44 -08:00
opentext
readvar VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifequal SUNDAY, .DoHaircut
ifequal WEDNESDAY, .DoHaircut
ifequal FRIDAY, .DoHaircut
sjump GoldenrodUndergroundScript_ShopClosed
.DoHaircut:
2015-07-10 05:08:03 -07:00
checkflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
iftrue .AlreadyGotHaircut
special PlaceMoneyTopRight
writetext GoldenrodUndergroundYoungerHaircutBrotherOfferHaircutText
yesorno
iffalse .Refused
checkmoney YOUR_MONEY, GOLDENRODUNDERGROUND_YOUNGER_HAIRCUT_PRICE
2018-02-02 18:09:17 -08:00
ifequal HAVE_LESS, .NotEnoughMoney
writetext GoldenrodUndergroundYoungerHaircutBrotherAskWhichMonText
2019-11-03 09:48:54 -08:00
promptbutton
special YoungerHaircutBrother
2018-02-02 18:09:17 -08:00
ifequal $0, .Refused
ifequal $1, .Refused
2015-07-10 05:08:03 -07:00
setflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
2018-02-02 18:09:17 -08:00
ifequal $2, .two
ifequal $3, .three
sjump .else
.two
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
clearevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
clearevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_3
sjump .then
.three
clearevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
clearevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_3
sjump .then
.else
clearevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
clearevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_3
sjump .then
.then
takemoney YOUR_MONEY, GOLDENRODUNDERGROUND_YOUNGER_HAIRCUT_PRICE
special PlaceMoneyTopRight
writetext GoldenrodUndergroundYoungerHaircutBrotherIllMakeItLookCoolText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
special FadeOutPalettes
playmusic MUSIC_HEAL
pause 60
special FadeInPalettes
special RestartMapMusic
2015-12-09 15:25:44 -08:00
opentext
writetext GoldenrodUndergroundYoungerHaircutBrotherAllDoneText
2015-11-25 07:16:29 -08:00
waitbutton
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
2018-03-01 10:18:51 -08:00
iftrue EitherHaircutBrotherScript_SlightlyHappier
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
2018-03-01 10:18:51 -08:00
iftrue EitherHaircutBrotherScript_Happier
sjump EitherHaircutBrotherScript_MuchHappier
.Refused:
writetext GoldenrodUndergroundYoungerHaircutBrotherHowDisappointingText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.NotEnoughMoney:
writetext GoldenrodUndergroundYoungerHaircutBrotherShortOnFundsText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.AlreadyGotHaircut:
writetext GoldenrodUndergroundYoungerHaircutBrotherOneHaircutADayText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-03-01 10:18:51 -08:00
EitherHaircutBrotherScript_SlightlyHappier:
2015-10-12 09:33:24 -07:00
writetext HaircutBrosText_SlightlyHappier
special PlayCurMonCry
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-03-01 10:18:51 -08:00
EitherHaircutBrotherScript_Happier:
2015-10-12 09:33:24 -07:00
writetext HaircutBrosText_Happier
special PlayCurMonCry
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-03-01 10:18:51 -08:00
EitherHaircutBrotherScript_MuchHappier:
2015-10-12 09:33:24 -07:00
writetext HaircutBrosText_MuchHappier
special PlayCurMonCry
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
BasementDoorScript::
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_USED_BASEMENT_KEY
iftrue .Open
checkitem BASEMENT_KEY
iftrue .Unlock
writetext GoldenrodUndergroundTheDoorsLockedText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.Unlock:
playsound SFX_TRANSACTION
writetext GoldenrodUndergroundBasementKeyOpenedDoorText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2018-01-17 10:23:43 -08:00
changeblock 18, 6, $2e ; unlocked door
reloadmappart
2015-11-25 07:16:29 -08:00
closetext
2013-09-24 00:48:58 -07:00
setevent EVENT_USED_BASEMENT_KEY
end
.Open:
writetext GoldenrodUndergroundTheDoorIsOpenText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
GoldenrodUndergroundScript_ShopClosed:
writetext GoldenrodUndergroundWeAreNotOpenTodayText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
GoldenrodUndergroundCoinCase:
2015-12-15 07:55:56 -08:00
itemball COIN_CASE
GoldenrodUndergroundNoEntrySign:
jumptext GoldenrodUndergroundNoEntryText
GoldenrodUndergroundHiddenParlyzHeal:
hiddenitem PARLYZ_HEAL, EVENT_GOLDENROD_UNDERGROUND_HIDDEN_PARLYZ_HEAL
GoldenrodUndergroundHiddenSuperPotion:
hiddenitem SUPER_POTION, EVENT_GOLDENROD_UNDERGROUND_HIDDEN_SUPER_POTION
GoldenrodUndergroundHiddenAntidote:
hiddenitem ANTIDOTE, EVENT_GOLDENROD_UNDERGROUND_HIDDEN_ANTIDOTE
2015-07-10 01:20:21 -07:00
SupernerdEricSeenText:
text "I got booted out"
line "of the GAME COR-"
cont "NER."
para "I was trying to"
line "cheat using my"
cont "#MON…"
done
2015-07-10 01:20:21 -07:00
SupernerdEricBeatenText:
text "…Grumble…"
done
2017-12-10 12:36:58 -08:00
SupernerdEricAfterBattleText:
text "I guess I have to"
line "do things fair and"
cont "square…"
done
2015-07-10 01:20:21 -07:00
SupernerdTeruSeenText:
text "Do you consider"
line "type alignments in"
cont "battle?"
para "If you know your"
line "type advantages,"
para "you'll do better"
line "in battle."
done
2015-07-10 01:20:21 -07:00
SupernerdTeruBeatenText:
text "Ow, ow, ow!"
done
2017-12-10 12:36:58 -08:00
SupernerdTeruAfterBattleText:
text "I know my #MON"
line "type alignments."
para "But I only use one"
line "type of #MON."
done
2015-07-10 01:20:21 -07:00
PokemaniacIssacSeenText:
text "My #MON just"
line "got a haircut!"
para "I'll show you how"
line "strong it is!"
done
2015-07-10 01:20:21 -07:00
PokemaniacIssacBeatenText:
text "Aiyeeee!"
done
2017-12-10 12:36:58 -08:00
PokemaniacIssacAfterBattleText:
text "Your #MON will"
line "like you more if"
para "you give them"
line "haircuts."
done
2015-07-10 01:20:21 -07:00
PokemaniacDonaldSeenText:
text "I think you have"
line "some rare #MON"
cont "with you."
para "Let me see them!"
done
2015-07-10 01:20:21 -07:00
PokemaniacDonaldBeatenText:
text "Gaah! I lost!"
line "That makes me mad!"
done
2017-12-10 12:36:58 -08:00
PokemaniacDonaldAfterBattleText:
text "Are you making a"
line "#DEX? Here's a"
cont "hot tip."
para "The HIKER on ROUTE"
line "33, ANTHONY, is a"
cont "good guy."
para "He'll phone you if"
line "he sees any rare"
cont "#MON."
done
GoldenrodUndergroundTheDoorsLockedText:
text "The door's locked…"
done
GoldenrodUndergroundTheDoorIsOpenText:
text "The door is open."
done
GoldenrodUndergroundBasementKeyOpenedDoorText:
text "The BASEMENT KEY"
line "opened the door."
done
GoldenrodUndergroundOlderHaircutBrotherOfferHaircutText:
text "Welcome!"
para "I run the #MON"
line "SALON!"
para "I'm the older and"
line "better of the two"
cont "HAIRCUT BROTHERS."
para "I can make your"
line "#MON beautiful"
cont "for just ¥500."
para "Would you like me"
line "to do that?"
done
GoldenrodUndergroundOlderHaircutBrotherAskWhichMonText:
text "Which #MON"
line "should I work on?"
done
GoldenrodUndergroundOlderHaircutBrotherWatchItBecomeBeautifulText:
text "OK! Watch it"
line "become beautiful!"
done
GoldenrodUndergroundOlderHaircutBrotherAllDoneText:
text "There! All done!"
done
GoldenrodUndergroundOlderHaircutBrotherThatsAShameText:
text "Is that right?"
line "That's a shame!"
done
GoldenrodUndergroundOlderHaircutBrotherYoullNeedMoreMoneyText:
text "You'll need more"
line "money than that."
done
GoldenrodUndergroundOlderHaircutBrotherOneHaircutADayText:
text "I do only one"
line "haircut a day. I'm"
cont "done for today."
done
GoldenrodUndergroundYoungerHaircutBrotherOfferHaircutText:
text "Welcome to the"
line "#MON SALON!"
para "I'm the younger"
line "and less expen-"
cont "sive of the two"
cont "HAIRCUT BROTHERS."
para "I'll spiff up your"
line "#MON for just"
cont "¥300."
para "So? How about it?"
done
GoldenrodUndergroundYoungerHaircutBrotherAskWhichMonText:
text "OK, which #MON"
line "should I do?"
done
GoldenrodUndergroundYoungerHaircutBrotherIllMakeItLookCoolText:
text "OK! I'll make it"
line "look cool!"
done
GoldenrodUndergroundYoungerHaircutBrotherAllDoneText:
text "There we go!"
line "All done!"
done
GoldenrodUndergroundYoungerHaircutBrotherHowDisappointingText:
text "No? "
line "How disappointing!"
done
GoldenrodUndergroundYoungerHaircutBrotherShortOnFundsText:
text "You're a little"
line "short on funds."
done
GoldenrodUndergroundYoungerHaircutBrotherOneHaircutADayText:
text "I can do only one"
line "haircut a day."
para "Sorry, but I'm all"
line "done for today."
done
2015-10-12 09:33:24 -07:00
HaircutBrosText_SlightlyHappier:
text_ram wStringBuffer3
text " looks a"
line "little happier."
done
2015-10-12 09:33:24 -07:00
HaircutBrosText_Happier:
text_ram wStringBuffer3
text " looks"
line "happy."
done
2015-10-12 09:33:24 -07:00
HaircutBrosText_MuchHappier:
text_ram wStringBuffer3
text " looks"
line "delighted!"
done
GoldenrodUndergroundWeAreNotOpenTodayText:
text "We're not open"
line "today."
done
GoldenrodUndergroundNoEntryText:
text "NO ENTRY BEYOND"
line "THIS POINT"
done
GoldenrodUnderground_MapEvents:
db 0, 0 ; filler
db 6 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 3, 2, GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES, 7
warp_event 3, 34, GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES, 4
warp_event 18, 6, GOLDENROD_UNDERGROUND, 4
2018-02-01 18:54:00 -08:00
warp_event 21, 31, GOLDENROD_UNDERGROUND, 3
warp_event 22, 31, GOLDENROD_UNDERGROUND, 3
warp_event 22, 27, GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES, 1
db 0 ; coord events
db 5 ; bg events
2018-02-01 19:22:07 -08:00
bg_event 18, 6, BGEVENT_READ, BasementDoorScript
bg_event 19, 6, BGEVENT_READ, GoldenrodUndergroundNoEntrySign
2018-02-01 19:22:07 -08:00
bg_event 6, 13, BGEVENT_ITEM, GoldenrodUndergroundHiddenParlyzHeal
bg_event 4, 18, BGEVENT_ITEM, GoldenrodUndergroundHiddenSuperPotion
bg_event 17, 8, BGEVENT_ITEM, GoldenrodUndergroundHiddenAntidote
db 9 ; object events
2018-02-01 19:22:07 -08:00
object_event 5, 31, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerSupernerdEric, -1
object_event 6, 9, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 2, TrainerSupernerdTeru, -1
object_event 3, 27, SPRITE_SUPER_NERD, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 2, TrainerPokemaniacIssac, -1
object_event 2, 6, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerPokemaniacDonald, -1
object_event 7, 25, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodUndergroundCoinCase, EVENT_GOLDENROD_UNDERGROUND_COIN_CASE
2018-03-01 10:18:51 -08:00
object_event 7, 11, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, BargainMerchantScript, EVENT_GOLDENROD_UNDERGROUND_GRAMPS
2018-02-01 19:22:07 -08:00
object_event 7, 14, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, OlderHaircutBrotherScript, EVENT_GOLDENROD_UNDERGROUND_OLDER_HAIRCUT_BROTHER
object_event 7, 15, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, YoungerHaircutBrotherScript, EVENT_GOLDENROD_UNDERGROUND_YOUNGER_HAIRCUT_BROTHER
2018-03-01 10:18:51 -08:00
object_event 7, 21, SPRITE_GRANNY, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, BitterMerchantScript, EVENT_GOLDENROD_UNDERGROUND_GRANNY