mirror of
https://github.com/pret/pokegold.git
synced 2026-06-01 01:34:57 -05:00
280 lines
6.3 KiB
NASM
280 lines
6.3 KiB
NASM
object_const_def ; object_event constants
|
|
const RADIOTOWER2F_SUPER_NERD
|
|
const RADIOTOWER2F_TEACHER
|
|
const RADIOTOWER2F_ROCKET1
|
|
const RADIOTOWER2F_ROCKET2
|
|
const RADIOTOWER2F_ROCKET3
|
|
const RADIOTOWER2F_ROCKET_GIRL
|
|
const RADIOTOWER2F_BLACK_BELT1
|
|
const RADIOTOWER2F_BLACK_BELT2
|
|
const RADIOTOWER2F_JIGGLYPUFF
|
|
|
|
RadioTower2F_MapScripts:
|
|
db 0 ; scene scripts
|
|
|
|
db 0 ; callbacks
|
|
|
|
RadioTower2FUnusedDummyScene:
|
|
; unused
|
|
end
|
|
|
|
RadioTower2FSuperNerdScript:
|
|
jumptextfaceplayer RadioTower2FSuperNerdText
|
|
|
|
RadioTower2FTeacherScript:
|
|
faceplayer
|
|
opentext
|
|
checkflag ENGINE_ROCKETS_IN_RADIO_TOWER
|
|
iftrue .Rockets
|
|
writetext RadioTower2FTeacherText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
.Rockets:
|
|
writetext RadioTower2FTeacherText_Rockets
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
RadioTowerJigglypuff:
|
|
opentext
|
|
writetext RadioTowerJigglypuffText
|
|
cry JIGGLYPUFF
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
RadioTower2FBlackBelt1Script:
|
|
jumptextfaceplayer RadioTower2FBlackBelt1Text
|
|
|
|
RadioTower2FBlackBelt2Script:
|
|
jumptextfaceplayer RadioTower2FBlackBelt2Text
|
|
|
|
TrainerGruntM4:
|
|
trainer GRUNTM, GRUNTM_4, EVENT_BEAT_ROCKET_GRUNTM_4, GruntM4SeenText, GruntM4BeatenText, 0, .Script
|
|
|
|
.Script:
|
|
endifjustbattled
|
|
opentext
|
|
writetext GruntM4AfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerGruntM5:
|
|
trainer GRUNTM, GRUNTM_5, EVENT_BEAT_ROCKET_GRUNTM_5, GruntM5SeenText, GruntM5BeatenText, 0, .Script
|
|
|
|
.Script:
|
|
endifjustbattled
|
|
opentext
|
|
writetext GruntM5AfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerGruntM6:
|
|
trainer GRUNTM, GRUNTM_6, EVENT_BEAT_ROCKET_GRUNTM_6, GruntM6SeenText, GruntM6BeatenText, 0, .Script
|
|
|
|
.Script:
|
|
endifjustbattled
|
|
opentext
|
|
writetext GruntM6AfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TrainerGruntF2:
|
|
trainer GRUNTF, GRUNTF_2, EVENT_BEAT_ROCKET_GRUNTF_2, GruntF2SeenText, GruntF2BeatenText, 0, .Script
|
|
|
|
.Script:
|
|
endifjustbattled
|
|
opentext
|
|
writetext GruntF2AfterBattleText
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
RadioTower2FSalesSign:
|
|
jumptext RadioTower2FSalesSignText
|
|
|
|
RadioTower2FOaksPKMNTalkSign:
|
|
jumptext RadioTower2FOaksPKMNTalkSignText
|
|
|
|
RadioTower2FPokemonRadioSign:
|
|
jumptext RadioTower2FPokemonRadioSignText
|
|
|
|
RadioTower2FBookshelf:
|
|
jumpstd magazinebookshelf
|
|
|
|
RadioTower2FSuperNerdText:
|
|
text "You can listen to"
|
|
line "the radio any-"
|
|
cont "where. Tune in!"
|
|
done
|
|
|
|
RadioTower2FTeacherText:
|
|
text "Lullabies on the"
|
|
line "radio may make"
|
|
cont "#MON sleep."
|
|
done
|
|
|
|
RadioTower2FTeacherText_Rockets:
|
|
text "Why would they"
|
|
line "want to take over"
|
|
cont "the RADIO TOWER?"
|
|
done
|
|
|
|
RadioTowerJigglypuffText:
|
|
text "JIGGLYPUFF:"
|
|
line "Jiggly…"
|
|
done
|
|
|
|
RadioTower2FBlackBelt1Text:
|
|
text "Sorry. Authorized"
|
|
line "personnel only"
|
|
cont "beyond this point."
|
|
|
|
para "It wasn't that way"
|
|
line "before."
|
|
|
|
para "There's something"
|
|
line "wrong with the"
|
|
cont "DIRECTOR…"
|
|
done
|
|
|
|
RadioTower2FBlackBelt2Text:
|
|
text "Feel free to look"
|
|
line "around anywhere."
|
|
|
|
para "The DIRECTOR is"
|
|
line "nice again, just"
|
|
cont "as he was before."
|
|
done
|
|
|
|
GruntM4SeenText:
|
|
text "Three years ago,"
|
|
line "TEAM ROCKET was"
|
|
cont "forced to disband."
|
|
|
|
para "But we're making a"
|
|
line "comeback here!"
|
|
done
|
|
|
|
GruntM4BeatenText:
|
|
text "Gwah! Don't get"
|
|
line "cute!"
|
|
done
|
|
|
|
GruntM4AfterBattleText:
|
|
text "We won't let you"
|
|
line "ruin our plans"
|
|
cont "for our comeback!"
|
|
done
|
|
|
|
GruntM5SeenText:
|
|
text "We're TEAM ROCKET,"
|
|
line "the exploiters of"
|
|
cont "#MON!"
|
|
|
|
para "We love being"
|
|
line "evil! Scared?"
|
|
done
|
|
|
|
GruntM5BeatenText:
|
|
text "You think you're a"
|
|
line "hero?"
|
|
done
|
|
|
|
GruntM5AfterBattleText:
|
|
text "We're not always"
|
|
line "evil. We just do"
|
|
cont "whatever we like."
|
|
done
|
|
|
|
GruntM6SeenText:
|
|
text "Hey, hey! Keep out"
|
|
line "of our way!"
|
|
done
|
|
|
|
GruntM6BeatenText:
|
|
text "Arggh. I give up."
|
|
done
|
|
|
|
GruntM6AfterBattleText:
|
|
text "Our EXECUTIVES are"
|
|
line "trying to take"
|
|
cont "this place over."
|
|
|
|
para "They have some big"
|
|
line "plan. I wonder"
|
|
cont "what that is?"
|
|
done
|
|
|
|
GruntF2SeenText:
|
|
text "Hahaha!"
|
|
|
|
para "How boring."
|
|
line "It was far too"
|
|
|
|
para "easy to take over"
|
|
line "this place!"
|
|
|
|
para "Come on, keep me"
|
|
line "amused!"
|
|
done
|
|
|
|
GruntF2BeatenText:
|
|
text "Wh-who are you?"
|
|
done
|
|
|
|
GruntF2AfterBattleText:
|
|
text "You beat me, and"
|
|
line "I won't forget it!"
|
|
done
|
|
|
|
RadioTower2FSalesSignText:
|
|
text "2F SALES"
|
|
done
|
|
|
|
RadioTower2FOaksPKMNTalkSignText:
|
|
text "PROF.OAK'S #MON"
|
|
line "TALK"
|
|
|
|
para "The Hottest Show"
|
|
line "on the Air!"
|
|
done
|
|
|
|
RadioTower2FPokemonRadioSignText:
|
|
text "Anywhere, Anytime"
|
|
line "#MON Radio"
|
|
done
|
|
|
|
RadioTower2F_MapEvents:
|
|
db 0, 0 ; filler
|
|
|
|
db 2 ; warp events
|
|
warp_event 0, 0, RADIO_TOWER_3F, 1
|
|
warp_event 15, 0, RADIO_TOWER_1F, 3
|
|
|
|
db 0 ; coord events
|
|
|
|
db 6 ; bg events
|
|
bg_event 3, 0, BGEVENT_READ, RadioTower2FSalesSign
|
|
bg_event 5, 0, BGEVENT_READ, RadioTower2FOaksPKMNTalkSign
|
|
bg_event 9, 1, BGEVENT_READ, RadioTower2FBookshelf
|
|
bg_event 10, 1, BGEVENT_READ, RadioTower2FBookshelf
|
|
bg_event 11, 1, BGEVENT_READ, RadioTower2FBookshelf
|
|
bg_event 13, 0, BGEVENT_READ, RadioTower2FPokemonRadioSign
|
|
|
|
db 9 ; object events
|
|
object_event 5, 6, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, RadioTower2FSuperNerdScript, EVENT_GOLDENROD_CITY_CIVILIANS
|
|
object_event 13, 2, SPRITE_TEACHER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, RadioTower2FTeacherScript, -1
|
|
object_event 1, 4, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerGruntM4, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
|
object_event 8, 4, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerGruntM5, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
|
object_event 4, 1, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 2, TrainerGruntM6, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
|
object_event 10, 5, SPRITE_ROCKET_GIRL, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerGruntF2, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
|
object_event 0, 1, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, RadioTower2FBlackBelt1Script, EVENT_RADIO_TOWER_BLACKBELT_BLOCKS_STAIRS
|
|
object_event 1, 1, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, RadioTower2FBlackBelt2Script, EVENT_RADIO_TOWER_CIVILIANS_AFTER
|
|
object_event 12, 1, SPRITE_JIGGLYPUFF, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, RadioTowerJigglypuff, -1
|