pokecrystal-board/maps/GoldenrodUnderground.asm

684 lines
15 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
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_SUPER_NERD5
const GOLDENRODUNDERGROUND_SUPER_NERD6
const GOLDENRODUNDERGROUND_GRANNY
GoldenrodUnderground_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 3
2016-01-06 04:44:50 -08:00
dbw MAPCALLBACK_NEWMAP, .ResetSwitches
dbw MAPCALLBACK_TILES, .CheckBasementKey
dbw 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
writebyte $0
copyvartobyte UndergroundSwitchPositions
return
.CheckBasementKey:
2013-09-24 00:48:58 -07:00
checkevent EVENT_USED_BASEMENT_KEY
iffalse .LockBasementDoor
return
.LockBasementDoor:
changeblock $12, $6, $3d
return
.CheckDayOfWeek:
checkcode VAR_WEEKDAY
if_equal MONDAY, .Monday
if_equal TUESDAY, .Tuesday
if_equal WEDNESDAY, .Wednesday
if_equal THURSDAY, .Thursday
if_equal FRIDAY, .Friday
if_equal SATURDAY, .Saturday
.Sunday:
disappear GOLDENRODUNDERGROUND_GRAMPS
disappear GOLDENRODUNDERGROUND_SUPER_NERD5
appear GOLDENRODUNDERGROUND_SUPER_NERD6
appear GOLDENRODUNDERGROUND_GRANNY
return
.Monday:
disappear GOLDENRODUNDERGROUND_GRAMPS
checkmorn
iffalse .NotMondayMorning
appear GOLDENRODUNDERGROUND_GRAMPS
.NotMondayMorning:
disappear GOLDENRODUNDERGROUND_SUPER_NERD5
disappear GOLDENRODUNDERGROUND_SUPER_NERD6
disappear GOLDENRODUNDERGROUND_GRANNY
return
.Tuesday:
disappear GOLDENRODUNDERGROUND_GRAMPS
appear GOLDENRODUNDERGROUND_SUPER_NERD5
disappear GOLDENRODUNDERGROUND_SUPER_NERD6
disappear GOLDENRODUNDERGROUND_GRANNY
return
.Wednesday:
disappear GOLDENRODUNDERGROUND_GRAMPS
disappear GOLDENRODUNDERGROUND_SUPER_NERD5
appear GOLDENRODUNDERGROUND_SUPER_NERD6
disappear GOLDENRODUNDERGROUND_GRANNY
return
.Thursday:
disappear GOLDENRODUNDERGROUND_GRAMPS
appear GOLDENRODUNDERGROUND_SUPER_NERD5
disappear GOLDENRODUNDERGROUND_SUPER_NERD6
disappear GOLDENRODUNDERGROUND_GRANNY
return
.Friday:
disappear GOLDENRODUNDERGROUND_GRAMPS
disappear GOLDENRODUNDERGROUND_SUPER_NERD5
appear GOLDENRODUNDERGROUND_SUPER_NERD6
disappear GOLDENRODUNDERGROUND_GRANNY
return
.Saturday:
disappear GOLDENRODUNDERGROUND_GRAMPS
appear GOLDENRODUNDERGROUND_SUPER_NERD5
disappear GOLDENRODUNDERGROUND_SUPER_NERD6
appear GOLDENRODUNDERGROUND_GRANNY
return
2015-07-10 01:20:21 -07:00
TrainerSupernerdEric:
2017-12-17 17:45:04 -08:00
trainer EVENT_BEAT_SUPER_NERD_ERIC, SUPER_NERD, ERIC, SupernerdEricSeenText, SupernerdEricBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
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:
2017-12-17 17:45:04 -08:00
trainer EVENT_BEAT_SUPER_NERD_TERU, SUPER_NERD, TERU, SupernerdTeruSeenText, SupernerdTeruBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
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:
2017-12-17 17:45:04 -08:00
trainer EVENT_BEAT_POKEMANIAC_ISSAC, POKEMANIAC, ISSAC, PokemaniacIssacSeenText, PokemaniacIssacBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
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:
2017-12-17 17:45:04 -08:00
trainer EVENT_BEAT_POKEMANIAC_DONALD, POKEMANIAC, DONALD, PokemaniacDonaldSeenText, PokemaniacDonaldBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
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
2015-07-10 01:20:21 -07:00
GrannyScript_0x7c132:
2015-12-09 15:25:44 -08:00
opentext
checkcode VAR_WEEKDAY
if_equal SUNDAY, .Open
if_equal SATURDAY, .Open
jump 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
2015-07-10 01:20:21 -07:00
GrampsScript_0x7c146:
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
checkcode VAR_WEEKDAY
if_equal MONDAY, .CheckMorn
jump GoldenrodUndergroundScript_ShopClosed
.CheckMorn:
checkmorn
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
checkcode VAR_WEEKDAY
if_equal TUESDAY, .DoHaircut
if_equal THURSDAY, .DoHaircut
if_equal SATURDAY, .DoHaircut
jump GoldenrodUndergroundScript_ShopClosed
.DoHaircut:
2015-07-10 05:08:03 -07:00
checkflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
iftrue .AlreadyGotHaircut
2015-12-17 19:31:16 -08:00
special PlaceMoneyTopRight
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c5f9
yesorno
iffalse .Refused
checkmoney $0, 500
if_equal $2, .NotEnoughMoney
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c69a
2015-11-29 19:29:45 -08:00
buttonsound
2015-10-12 09:33:24 -07:00
special Special_YoungerHaircutBrother
if_equal $0, .Refused
if_equal $1, .Refused
2015-07-10 05:08:03 -07:00
setflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
if_equal $2, .two
if_equal $3, .three
jump .else
.two
setevent EVENT_GAVE_KURT_APRICORNS
clearevent EVENT_RECEIVED_BALLS_FROM_KURT
clearevent EVENT_DRAGON_SHRINE_QUESTION_2
jump .then
.three
clearevent EVENT_GAVE_KURT_APRICORNS
setevent EVENT_RECEIVED_BALLS_FROM_KURT
clearevent EVENT_DRAGON_SHRINE_QUESTION_2
jump .then
.else
clearevent EVENT_GAVE_KURT_APRICORNS
clearevent EVENT_RECEIVED_BALLS_FROM_KURT
setevent EVENT_DRAGON_SHRINE_QUESTION_2
jump .then
.then
takemoney $0, 500
2015-12-17 19:31:16 -08:00
special PlaceMoneyTopRight
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c6b8
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-26 18:05:32 -08:00
special FadeOutPalettes
playmusic MUSIC_HEAL
pause 60
2015-11-26 18:05:32 -08:00
special FadeInPalettes
special RestartMapMusic
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c6d8
2015-11-25 07:16:29 -08:00
waitbutton
checkevent EVENT_GAVE_KURT_APRICORNS
iftrue UnknownScript_0x7c2bb
checkevent EVENT_RECEIVED_BALLS_FROM_KURT
iftrue UnknownScript_0x7c2c4
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7c2cd
.Refused:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c6ea
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.NotEnoughMoney:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c709
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.AlreadyGotHaircut:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c72b
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
YoungerHaircutBrotherScript:
2015-12-09 15:25:44 -08:00
opentext
checkcode VAR_WEEKDAY
if_equal SUNDAY, .DoHaircut
if_equal WEDNESDAY, .DoHaircut
if_equal FRIDAY, .DoHaircut
jump GoldenrodUndergroundScript_ShopClosed
.DoHaircut:
2015-07-10 05:08:03 -07:00
checkflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
iftrue .AlreadyGotHaircut
2015-12-17 19:31:16 -08:00
special PlaceMoneyTopRight
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c75c
yesorno
iffalse .Refused
checkmoney $0, 300
if_equal $2, .NotEnoughMoney
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c7f1
2015-11-29 19:29:45 -08:00
buttonsound
2015-10-12 09:33:24 -07:00
special Special_OlderHaircutBrother
if_equal $0, .Refused
if_equal $1, .Refused
2015-07-10 05:08:03 -07:00
setflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
if_equal $2, .two
if_equal $3, .three
jump .else
.two
setevent EVENT_GAVE_KURT_APRICORNS
clearevent EVENT_RECEIVED_BALLS_FROM_KURT
clearevent EVENT_DRAGON_SHRINE_QUESTION_2
jump .then
.three
clearevent EVENT_GAVE_KURT_APRICORNS
setevent EVENT_RECEIVED_BALLS_FROM_KURT
clearevent EVENT_DRAGON_SHRINE_QUESTION_2
jump .then
.else
clearevent EVENT_GAVE_KURT_APRICORNS
clearevent EVENT_RECEIVED_BALLS_FROM_KURT
setevent EVENT_DRAGON_SHRINE_QUESTION_2
jump .then
.then
takemoney $0, 300
2015-12-17 19:31:16 -08:00
special PlaceMoneyTopRight
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c80e
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-26 18:05:32 -08:00
special FadeOutPalettes
playmusic MUSIC_HEAL
pause 60
2015-11-26 18:05:32 -08:00
special FadeInPalettes
special RestartMapMusic
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c82a
2015-11-25 07:16:29 -08:00
waitbutton
checkevent EVENT_GAVE_KURT_APRICORNS
iftrue UnknownScript_0x7c2bb
checkevent EVENT_RECEIVED_BALLS_FROM_KURT
iftrue UnknownScript_0x7c2c4
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7c2cd
.Refused:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c842
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.NotEnoughMoney:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c85b
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.AlreadyGotHaircut:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c87b
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7c2bb:
2015-10-12 09:33:24 -07:00
writetext HaircutBrosText_SlightlyHappier
2015-11-16 19:29:54 -08:00
special PlayCurMonCry
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7c2c4:
2015-10-12 09:33:24 -07:00
writetext HaircutBrosText_Happier
2015-11-16 19:29:54 -08:00
special PlayCurMonCry
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7c2cd:
2015-10-12 09:33:24 -07:00
writetext HaircutBrosText_MuchHappier
2015-11-16 19:29:54 -08:00
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
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c5b0
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.Unlock:
playsound SFX_TRANSACTION
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c5d6
2015-11-25 07:16:29 -08:00
waitbutton
closetext
changeblock $12, $6, $2e
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:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c5c3
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
GoldenrodUndergroundScript_ShopClosed:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7c904
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
GoldenrodUndergroundCoinCase:
2015-12-15 07:55:56 -08:00
itemball COIN_CASE
MapGoldenrodUndergroundSignpost1Script:
jumptext UnknownText_0x7c91a
GoldenrodUndergroundHiddenParlyzHeal:
dwb EVENT_GOLDENROD_UNDERGROUND_HIDDEN_PARLYZ_HEAL, PARLYZ_HEAL
GoldenrodUndergroundHiddenSuperPotion:
dwb EVENT_GOLDENROD_UNDERGROUND_HIDDEN_SUPER_POTION, SUPER_POTION
GoldenrodUndergroundHiddenAntidote:
dwb EVENT_GOLDENROD_UNDERGROUND_HIDDEN_ANTIDOTE, 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
2015-07-10 01:20:21 -07:00
UnknownText_0x7c5b0:
text "The door's locked…"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7c5c3:
text "The door is open."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7c5d6:
text "The BASEMENT KEY"
line "opened the door."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7c5f9:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x7c69a:
text "Which #MON"
line "should I work on?"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7c6b8:
text "OK! Watch it"
line "become beautiful!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7c6d8:
text "There! All done!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7c6ea:
text "Is that right?"
line "That's a shame!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7c709:
text "You'll need more"
line "money than that."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7c72b:
text "I do only one"
line "haircut a day. I'm"
cont "done for today."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7c75c:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x7c7f1:
text "OK, which #MON"
line "should I do?"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7c80e:
text "OK! I'll make it"
line "look cool!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7c82a:
text "There we go!"
line "All done!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7c842:
text "No? "
line "How disappointing!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7c85b:
text "You're a little"
line "short on funds."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7c87b:
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:
2015-02-10 15:37:24 -08:00
text_from_ram StringBuffer3
text " looks a"
line "little happier."
done
2015-10-12 09:33:24 -07:00
HaircutBrosText_Happier:
2015-02-10 15:37:24 -08:00
text_from_ram StringBuffer3
text " looks"
line "happy."
done
2015-10-12 09:33:24 -07:00
HaircutBrosText_MuchHappier:
2015-02-10 15:37:24 -08:00
text_from_ram StringBuffer3
text " looks"
line "delighted!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7c904:
text "We're not open"
line "today."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7c91a:
text "NO ENTRY BEYOND"
line "THIS POINT"
done
GoldenrodUnderground_MapEventHeader:
; filler
db 0, 0
.Warps:
db 6
warp_def $2, $3, 7, GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES
warp_def $22, $3, 4, GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES
warp_def $6, $12, 4, GOLDENROD_UNDERGROUND
warp_def $1f, $15, 3, GOLDENROD_UNDERGROUND
warp_def $1f, $16, 3, GOLDENROD_UNDERGROUND
warp_def $1b, $16, 1, GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES
.CoordEvents:
db 0
.BGEvents:
db 5
bg_event 6, 18, BGEVENT_READ, BasementDoorScript
bg_event 6, 19, BGEVENT_READ, MapGoldenrodUndergroundSignpost1Script
bg_event 13, 6, BGEVENT_ITEM, GoldenrodUndergroundHiddenParlyzHeal
bg_event 18, 4, BGEVENT_ITEM, GoldenrodUndergroundHiddenSuperPotion
bg_event 8, 17, BGEVENT_ITEM, GoldenrodUndergroundHiddenAntidote
.ObjectEvents:
db 9
object_event SPRITE_SUPER_NERD, 31, 5, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerSupernerdEric, -1
object_event SPRITE_SUPER_NERD, 9, 6, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 2, TrainerSupernerdTeru, -1
object_event SPRITE_SUPER_NERD, 27, 3, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 2, TrainerPokemaniacIssac, -1
object_event SPRITE_SUPER_NERD, 6, 2, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerPokemaniacDonald, -1
object_event SPRITE_POKE_BALL, 25, 7, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodUndergroundCoinCase, EVENT_GOLDENROD_UNDERGROUND_COIN_CASE
object_event SPRITE_GRAMPS, 11, 7, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, GrampsScript_0x7c146, EVENT_GOLDENROD_UNDERGROUND_GRAMPS
object_event SPRITE_SUPER_NERD, 14, 7, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, OlderHaircutBrotherScript, EVENT_GOLDENROD_UNDERGROUND_OLDER_HAIRCUT_BROTHER
object_event SPRITE_SUPER_NERD, 15, 7, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, YoungerHaircutBrotherScript, EVENT_GOLDENROD_UNDERGROUND_YOUNGER_HAIRCUT_BROTHER
object_event SPRITE_GRANNY, 21, 7, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, GrannyScript_0x7c132, EVENT_GOLDENROD_UNDERGROUND_GRANNY