Add map objects from bank 50.

This commit is contained in:
IIMarckus
2018-10-03 12:02:04 -06:00
parent 9425a0110e
commit ed33ea6efc
10 changed files with 1447 additions and 9 deletions

View File

@@ -1703,15 +1703,15 @@ SECTION "bank4f", ROMX, BANK[$4f]
dr $13c000, $140000
SECTION "bank50", ROMX, BANK[$50]
;INCLUDE "maps/Route9.asm"
;INCLUDE "maps/Route24.asm"
;INCLUDE "maps/Route25.asm"
;INCLUDE "maps/Route3.asm"
;INCLUDE "maps/Route4.asm"
;INCLUDE "maps/Route8.asm"
;INCLUDE "maps/Route10.asm"
;INCLUDE "maps/Route23.asm"
dr $140000, $144000
INCLUDE "maps/Route9.asm"
INCLUDE "maps/Route24.asm"
INCLUDE "maps/Route25.asm"
INCLUDE "maps/Route3.asm"
INCLUDE "maps/Route4.asm"
INCLUDE "maps/Route8.asm"
INCLUDE "maps/Route10North.asm"
INCLUDE "maps/Route10South.asm"
INCLUDE "maps/Route23.asm"
SECTION "bank51", ROMX, BANK[$51]
INCLUDE "maps/OlivinePokecenter1F.asm"

29
maps/Route10North.asm Normal file
View File

@@ -0,0 +1,29 @@
Route10North_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
PowerPlantSign:
jumptext PowerPlantSignText
Route10PokecenterSign:
jumpstd pokecentersign
PowerPlantSignText:
text "KANTO POWER PLANT"
done
Route10North_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
warp_event 11, 1, ROUTE_10_POKECENTER_1F, 1
warp_event 3, 9, POWER_PLANT, 1
db 0 ; coord events
db 2 ; bg events
bg_event 5, 11, BGEVENT_READ, PowerPlantSign
bg_event 12, 1, BGEVENT_READ, Route10PokecenterSign
db 0 ; object events

89
maps/Route10South.asm Normal file
View File

@@ -0,0 +1,89 @@
const_def 2 ; object constants
const ROUTE10SOUTH_POKEFAN_M1
const ROUTE10SOUTH_POKEFAN_M2
Route10South_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
TrainerHikerJim:
trainer HIKER, JIM, EVENT_BEAT_HIKER_JIM, HikerJimSeenText, HikerJimBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext HikerJimAfterBattleText
waitbutton
closetext
end
TrainerPokefanmRobert:
trainer POKEFANM, ROBERT, EVENT_BEAT_POKEFANM_ROBERT, PokefanmRobertSeenText, PokefanmRobertBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext PokefanmRobertAfterBattleText
waitbutton
closetext
end
Route10Sign:
jumptext Route10SignText
HikerJimSeenText:
text "Hahahah!"
done
HikerJimBeatenText:
text "Hahaha-hachoo!"
done
HikerJimAfterBattleText:
text "Hay fever is"
line "making me sneeze!"
cont "Ahahah-CHOO!"
done
PokefanmRobertSeenText:
text "You like #MON,"
line "don't you?"
para "Me too!"
done
PokefanmRobertBeatenText:
text "I'd have to say"
line "that's my loss."
done
PokefanmRobertAfterBattleText:
text "Look what you did"
line "to my #MON…"
para "I won't forget"
line "this…"
done
Route10SignText:
text "ROUTE 10"
para "CERULEAN CITY -"
line "LAVENDER TOWN"
done
Route10South_MapEvents:
db 0, 0 ; filler
db 1 ; warp events
warp_event 6, 1, ROCK_TUNNEL_1F, 2
db 0 ; coord events
db 1 ; bg events
bg_event 5, 3, BGEVENT_READ, Route10Sign
db 2 ; object events
object_event 17, 3, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 4, TrainerHikerJim, -1
object_event 4, 10, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 2, TrainerPokefanmRobert, -1

37
maps/Route23.asm Normal file
View File

@@ -0,0 +1,37 @@
Route23_MapScripts:
db 0 ; scene scripts
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
.FlyPoint:
setflag ENGINE_FLYPOINT_INDIGO_PLATEAU
return
IndigoPlateauSign:
jumptext IndigoPlateauSignText
IndigoPlateauSignText:
text "INDIGO PLATEAU"
para "The Ultimate Goal"
line "for Trainers!"
para "#MON LEAGUE HQ"
done
Route23_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
warp_event 9, 5, INDIGO_PLATEAU_POKECENTER_1F, 1
warp_event 10, 5, INDIGO_PLATEAU_POKECENTER_1F, 2
warp_event 9, 13, VICTORY_ROAD, 10
warp_event 10, 13, VICTORY_ROAD, 10
db 0 ; coord events
db 1 ; bg events
bg_event 11, 7, BGEVENT_READ, IndigoPlateauSign
db 0 ; object events

129
maps/Route24.asm Normal file
View File

@@ -0,0 +1,129 @@
const_def 2 ; object constants
const ROUTE24_ROCKET
Route24_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
Route24RocketScript:
faceplayer
playmusic MUSIC_ROCKET_ENCOUNTER
opentext
writetext Route24RocketSeenText
waitbutton
closetext
winlosstext Route24RocketBeatenText, -1
loadtrainer GRUNTM, GRUNTM_31
startbattle
dontrestartmapmusic
reloadmapafterbattle
playmusic MUSIC_ROCKET_ENCOUNTER
opentext
writetext Route24RocketAfterBattleText
buttonsound
special FadeOutMusic
writetext Route24RocketDisappearsText
waitbutton
closetext
special FadeBlackQuickly
special ReloadSpritesNoPalettes
disappear ROUTE24_ROCKET
pause 25
special FadeInQuickly
playmapmusic
end
Route24RocketSeenText:
text "Hey, kid! Me am a"
line "TEAM ROCKET member"
cont "kind of guy!"
para "Come from another"
line "country, a trainer"
cont "number one, me!"
para "Think I did, if"
line "stop the energy,"
para "be big panic for"
line "here people!"
para "Secret it is my"
line "mission, so tell"
cont "you I not!"
para "But! If win you do"
line "versus me, a man I"
para "be and mine secret"
line "to you I tell."
para "Hey, kid! Battle"
line "begin we do!"
done
Route24RocketBeatenText:
text "Ayieeeh! No, no,"
line "no, believe it I"
cont "can't!"
para "Strong very much"
line "be you! Match I am"
cont "not to you!"
done
Route24RocketAfterBattleText:
text "OK. Tell you mine"
line "secret will I."
para "MACHINE PART steal"
line "by me, hide it I"
para "did in GYM of the"
line "CERULEAN."
para "Inside water put"
line "it I did. Look for"
para "in water center of"
line "GYM at."
para "Boy, but you"
line "forget me not!"
para "Beat you for sure"
line "will TEAM ROCKET."
para "Come from JOHTO"
line "will they, mine"
para "friends, yes. Will"
line "revenge they are."
done
Route24RocketDisappearsText:
text "…"
para "You say what? TEAM"
line "ROCKET bye-bye a"
para "go-go? Broken it"
line "is says you?"
para "Oh, no! Should I"
line "do what now on"
cont "from, me?"
done
Route24_MapEvents:
db 0, 0 ; filler
db 0 ; warp events
db 0 ; coord events
db 0 ; bg events
db 1 ; object events
object_event 8, 7, SPRITE_ROCKET, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Route24RocketScript, EVENT_ROUTE_24_ROCKET

455
maps/Route25.asm Normal file
View File

@@ -0,0 +1,455 @@
const_def 2 ; object constants
const ROUTE25_MISTY
const ROUTE25_COOLTRAINER_M1
const ROUTE25_YOUNGSTER1
const ROUTE25_LASS1
const ROUTE25_YOUNGSTER2
const ROUTE25_LASS2
const ROUTE25_YOUNGSTER3
const ROUTE25_LASS3
const ROUTE25_SUPER_NERD
const ROUTE25_COOLTRAINER_M2
const ROUTE25_POKE_BALL
Route25_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_ROUTE25_NOTHING
scene_script .DummyScene1 ; SCENE_ROUTE25_MISTYS_DATE
db 0 ; callbacks
.DummyScene0:
end
.DummyScene1:
end
Route25MistyDate1Script:
showemote EMOTE_HEART, ROUTE25_MISTY, 15
pause 30
showemote EMOTE_SHOCK, ROUTE25_COOLTRAINER_M1, 10
turnobject ROUTE25_MISTY, DOWN
applymovement ROUTE25_COOLTRAINER_M1, MovementData_0x19efe8
disappear ROUTE25_COOLTRAINER_M1
pause 15
playmusic MUSIC_BEAUTY_ENCOUNTER
turnobject ROUTE25_MISTY, UP
pause 10
applymovement ROUTE25_MISTY, MovementData_0x19efed
opentext
writetext Route25MistyDateText
waitbutton
closetext
turnobject PLAYER, DOWN
applymovement ROUTE25_MISTY, MovementData_0x19effa
turnobject PLAYER, LEFT
applymovement ROUTE25_MISTY, MovementData_0x19f000
disappear ROUTE25_MISTY
clearevent EVENT_TRAINERS_IN_CERULEAN_GYM
setscene SCENE_ROUTE25_NOTHING
special RestartMapMusic
end
Route25MistyDate2Script:
showemote EMOTE_HEART, ROUTE25_MISTY, 15
pause 30
showemote EMOTE_SHOCK, ROUTE25_COOLTRAINER_M1, 10
turnobject ROUTE25_MISTY, DOWN
applymovement ROUTE25_COOLTRAINER_M1, MovementData_0x19efea
disappear ROUTE25_COOLTRAINER_M1
pause 15
playmusic MUSIC_BEAUTY_ENCOUNTER
turnobject ROUTE25_MISTY, UP
pause 10
applymovement ROUTE25_MISTY, MovementData_0x19eff4
opentext
writetext Route25MistyDateText
waitbutton
closetext
turnobject PLAYER, UP
applymovement ROUTE25_MISTY, MovementData_0x19effd
turnobject PLAYER, LEFT
applymovement ROUTE25_MISTY, MovementData_0x19f000
disappear ROUTE25_MISTY
clearevent EVENT_TRAINERS_IN_CERULEAN_GYM
setscene SCENE_ROUTE25_NOTHING
special RestartMapMusic
end
TrainerSchoolboyDudley:
trainer SCHOOLBOY, DUDLEY, EVENT_BEAT_SCHOOLBOY_DUDLEY, SchoolboyDudleySeenText, SchoolboyDudleyBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext SchoolboyDudleyAfterBattleText
waitbutton
closetext
end
TrainerLassEllen:
trainer LASS, ELLEN, EVENT_BEAT_LASS_ELLEN, LassEllenSeenText, LassEllenBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext LassEllenAfterBattleText
waitbutton
closetext
end
TrainerSchoolboyJoe:
trainer SCHOOLBOY, JOE, EVENT_BEAT_SCHOOLBOY_JOE, SchoolboyJoeSeenText, SchoolboyJoeBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext SchoolboyJoeAfterBattleText
waitbutton
closetext
end
TrainerLassLaura:
trainer LASS, LAURA, EVENT_BEAT_LASS_LAURA, LassLauraSeenText, LassLauraBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext LassLauraAfterBattleText
waitbutton
closetext
end
TrainerCamperLloyd:
trainer CAMPER, LLOYD, EVENT_BEAT_CAMPER_LLOYD, CamperLloydSeenText, CamperLloydBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext CamperLloydAfterBattleText
waitbutton
closetext
end
TrainerLassShannon:
trainer LASS, SHANNON, EVENT_BEAT_LASS_SHANNON, LassShannonSeenText, LassShannonBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext LassShannonAfterBattleText
waitbutton
closetext
end
TrainerSupernerdPat:
trainer SUPER_NERD, PAT, EVENT_BEAT_SUPER_NERD_PAT, SupernerdPatSeenText, SupernerdPatBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext SupernerdPatAfterBattleText
waitbutton
closetext
end
TrainerCooltrainermKevin:
faceplayer
opentext
checkevent EVENT_BEAT_COOLTRAINERM_KEVIN
iftrue .AfterBattle
checkevent EVENT_CLEARED_NUGGET_BRIDGE
iftrue .AfterNuggetBridge
writetext CooltrainermKevinNuggetText
buttonsound
verbosegiveitem NUGGET
iffalse .NoRoomForNugget
setevent EVENT_CLEARED_NUGGET_BRIDGE
.AfterNuggetBridge:
writetext CooltrainermKevinSeenText
waitbutton
closetext
winlosstext CooltrainermKevinBeatenText, 0
loadtrainer COOLTRAINERM, KEVIN
startbattle
reloadmapafterbattle
setevent EVENT_BEAT_COOLTRAINERM_KEVIN
opentext
.AfterBattle:
writetext CooltrainermKevinAfterBattleText
waitbutton
.NoRoomForNugget:
closetext
end
BillsHouseSign:
jumptext BillsHouseSignText
Route25Protein:
itemball PROTEIN
Route25HiddenPotion:
hiddenitem POTION, EVENT_ROUTE_25_HIDDEN_POTION
MovementData_0x19efe8:
big_step DOWN
step_end
MovementData_0x19efea:
big_step DOWN
big_step DOWN
step_end
MovementData_0x19efed:
step UP
step UP
step UP
step LEFT
step LEFT
step LEFT
step_end
MovementData_0x19eff4:
step UP
step UP
step LEFT
step LEFT
step LEFT
step_end
MovementData_0x19effa:
step DOWN
step LEFT
step_end
MovementData_0x19effd:
step UP
step LEFT
step_end
MovementData_0x19f000:
step LEFT
step LEFT
step LEFT
step LEFT
step LEFT
step_end
Route25MistyDateText:
text "MISTY: Aww! Why"
line "did you have to"
para "show up and bug us"
line "now?"
para "Do you know what"
line "they call people"
cont "like you?"
para "Pests! You heard"
line "me right, pest!"
para "…"
para "…Oh? Those BADGES"
line "you have… Are they"
cont "JOHTO GYM BADGES?"
para "If you have eight,"
line "you must be good."
para "OK, then. Come to"
line "CERULEAN GYM."
para "I'll be happy to"
line "take you on."
para "I'm MISTY, the"
line "GYM LEADER in"
cont "CERULEAN."
done
SchoolboyDudleySeenText:
text "Beat the six of us"
line "trainers to win a"
cont "fabulous prize!"
para "Think you've got"
line "what it takes?"
done
SchoolboyDudleyBeatenText:
text "Whoo! Good stuff."
done
SchoolboyDudleyAfterBattleText:
text "I did my best."
line "I have no regrets."
done
LassEllenSeenText:
text "I'm second."
line "Now it's serious!"
done
LassEllenBeatenText:
text "How could I lose?"
done
LassEllenAfterBattleText:
text "I did my best."
line "I have no regrets."
done
SchoolboyJoeSeenText:
text "Here's No. 3!"
line "I won't be easy."
done
SchoolboyJoeBeatenText:
text "Ow! Stomped flat!"
done
SchoolboyJoeAfterBattleText:
text "I did my best."
line "I have no regrets."
done
LassLauraSeenText:
text "I'm No. 4!"
line "Getting tired?"
done
LassLauraBeatenText:
text "I lost too…"
done
LassLauraAfterBattleText:
text "I did my best."
line "I have no regrets."
done
CamperLloydSeenText:
text "OK! I'm No. 5."
line "I'll stomp you!"
done
CamperLloydBeatenText:
text "Whoa! Too much."
done
CamperLloydAfterBattleText:
text "I did my best."
line "I have no regrets."
done
LassShannonSeenText:
text "I'm the last in"
line "line, but I tell"
cont "you, I'm tough!"
done
LassShannonBeatenText:
text "You're kidding."
done
LassShannonAfterBattleText:
text "I did my best."
line "I have no regrets."
done
SupernerdPatSeenText:
text "Mufufufu…"
para "I have nothing to"
line "do with the six-"
cont "pack trainers."
para "I waited here to"
line "beat you when you"
para "were tired out by"
line "all the battles."
done
SupernerdPatBeatenText:
text "Aren't you tired"
line "at all?"
done
SupernerdPatAfterBattleText:
text "I'm sorry… I won't"
line "cheat anymore…"
done
CooltrainermKevinNuggetText:
text "You took on one"
line "more battle than"
para "you expected, but"
line "you won anyway."
para "As promised, you"
line "win a prize."
done
CooltrainermKevinSeenText:
text "But after seeing"
line "how you battle, I"
para "want to see how"
line "I'll fare."
para "How about it? Let"
line "me take you on."
done
CooltrainermKevinBeatenText:
text "I've never had a"
line "battle this good!"
done
CooltrainermKevinAfterBattleText:
text "That was a great"
line "battle!"
para "You and your #-"
line "MON are truly out-"
cont "standing!"
done
BillsHouseSignText:
text "SEA COTTAGE"
line "BILL'S HOUSE"
done
; unused
text "BILL'S HOUSE"
done
Route25_MapEvents:
db 0, 0 ; filler
db 1 ; warp events
warp_event 47, 5, BILLS_HOUSE, 1
db 2 ; coord events
coord_event 42, 6, SCENE_ROUTE25_MISTYS_DATE, Route25MistyDate1Script
coord_event 42, 7, SCENE_ROUTE25_MISTYS_DATE, Route25MistyDate2Script
db 2 ; bg events
bg_event 45, 5, BGEVENT_READ, BillsHouseSign
bg_event 4, 5, BGEVENT_ITEM, Route25HiddenPotion
db 11 ; object events
object_event 46, 9, SPRITE_MISTY, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_ROUTE_25_MISTY_BOYFRIEND
object_event 46, 10, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_ROUTE_25_MISTY_BOYFRIEND
object_event 12, 8, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSchoolboyDudley, -1
object_event 16, 11, SPRITE_LASS, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerLassEllen, -1
object_event 21, 8, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerSchoolboyJoe, -1
object_event 22, 6, SPRITE_LASS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerLassLaura, -1
object_event 25, 4, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 2, TrainerCamperLloyd, -1
object_event 28, 11, SPRITE_LASS, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerLassShannon, -1
object_event 31, 7, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 1, TrainerSupernerdPat, -1
object_event 37, 8, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, TrainerCooltrainermKevin, -1
object_event 32, 4, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, Route25Protein, EVENT_ROUTE_25_PROTEIN

148
maps/Route3.asm Normal file
View File

@@ -0,0 +1,148 @@
const_def 2 ; object constants
const ROUTE3_FISHER1
const ROUTE3_YOUNGSTER1
const ROUTE3_YOUNGSTER2
const ROUTE3_FISHER2
Route3_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
TrainerFirebreatherOtis:
trainer FIREBREATHER, OTIS, EVENT_BEAT_FIREBREATHER_OTIS, FirebreatherOtisSeenText, FirebreatherOtisBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext FirebreatherOtisAfterBattleText
waitbutton
closetext
end
TrainerYoungsterWarren:
trainer YOUNGSTER, WARREN, EVENT_BEAT_YOUNGSTER_WARREN, YoungsterWarrenSeenText, YoungsterWarrenBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext YoungsterWarrenAfterBattleText
waitbutton
closetext
end
TrainerYoungsterJimmy:
trainer YOUNGSTER, JIMMY, EVENT_BEAT_YOUNGSTER_JIMMY, YoungsterJimmySeenText, YoungsterJimmyBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext YoungsterJimmyAfterBattleText
waitbutton
closetext
end
TrainerFirebreatherBurt:
trainer FIREBREATHER, BURT, EVENT_BEAT_FIREBREATHER_BURT, FirebreatherBurtSeenText, FirebreatherBurtBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext FirebreatherBurtAfterBattleText
waitbutton
closetext
end
Route3MtMoonSquareSign:
jumptext Route3MtMoonSquareSignText
FirebreatherOtisSeenText:
text "Ah! The weather's"
line "as fine as ever."
done
FirebreatherOtisBeatenText:
text "It's sunny, but"
line "I'm all wet…"
done
FirebreatherOtisAfterBattleText:
text "When it rains,"
line "it's hard to get"
cont "ignition…"
done
YoungsterWarrenSeenText:
text "Hmmm… I don't know"
line "what to do…"
done
YoungsterWarrenBeatenText:
text "I knew I'd lose…"
done
YoungsterWarrenAfterBattleText:
text "You looked strong."
para "I was afraid to"
line "take you on…"
done
YoungsterJimmySeenText:
text "I can run like the"
line "wind!"
done
YoungsterJimmyBeatenText:
text "Blown away!"
done
YoungsterJimmyAfterBattleText:
text "I wear shorts the"
line "whole year round."
para "That's my fashion"
line "policy."
done
FirebreatherBurtSeenText:
text "Step right up and"
line "take a look!"
done
FirebreatherBurtBeatenText:
text "Yow! That's hot!"
done
FirebreatherBurtAfterBattleText:
text "The greatest fire-"
line "breather in KANTO,"
cont "that's me."
para "But not the best"
line "trainer…"
done
Route3MtMoonSquareSignText:
text "MT.MOON SQUARE"
para "Just go up the"
line "stairs."
done
Route3_MapEvents:
db 0, 0 ; filler
db 1 ; warp events
warp_event 52, 1, MOUNT_MOON, 1
db 0 ; coord events
db 1 ; bg events
bg_event 49, 13, BGEVENT_READ, Route3MtMoonSquareSign
db 4 ; object events
object_event 26, 12, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 2, TrainerFirebreatherOtis, -1
object_event 11, 2, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 2, TrainerYoungsterWarren, -1
object_event 20, 4, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerYoungsterJimmy, -1
object_event 49, 5, SPRITE_FISHER, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerFirebreatherBurt, -1

129
maps/Route4.asm Normal file
View File

@@ -0,0 +1,129 @@
const_def 2 ; object constants
const ROUTE4_YOUNGSTER
const ROUTE4_LASS1
const ROUTE4_LASS2
const ROUTE4_POKE_BALL
Route4_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
TrainerBirdKeeperHank:
trainer BIRD_KEEPER, HANK, EVENT_BEAT_BIRD_KEEPER_HANK, BirdKeeperHankSeenText, BirdKeeperHankBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext BirdKeeperHankAfterBattleText
waitbutton
closetext
end
TrainerPicnickerHope:
trainer PICNICKER, HOPE, EVENT_BEAT_PICNICKER_HOPE, PicnickerHopeSeenText, PicnickerHopeBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext PicnickerHopeAfterBattleText
waitbutton
closetext
end
TrainerPicnickerSharon:
trainer PICNICKER, SHARON, EVENT_BEAT_PICNICKER_SHARON, PicnickerSharonSeenText, PicnickerSharonBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext PicnickerSharonAfterBattleText
waitbutton
closetext
end
MtMoonSquareSign:
jumptext MtMoonSquareSignText
Route4HPUp:
itemball HP_UP
Route4HiddenUltraBall:
hiddenitem ULTRA_BALL, EVENT_ROUTE_4_HIDDEN_ULTRA_BALL
BirdKeeperHankSeenText:
text "There's been news"
line "of an incident at"
cont "the POWER PLANT."
done
BirdKeeperHankBeatenText:
text "I lost? That's"
line "news too…"
done
BirdKeeperHankAfterBattleText:
text "I might go to the"
line "POWER PLANT. Is it"
cont "near ROCK TUNNEL?"
done
PicnickerHopeSeenText:
text "I have a feeling"
line "that I can win."
para "Let's see if I'm"
line "right!"
done
PicnickerHopeBeatenText:
text "Aww, you are too"
line "strong."
done
PicnickerHopeAfterBattleText:
text "I heard CLEFAIRY"
line "appear at MT.MOON."
para "But where could"
line "they be?"
done
PicnickerSharonSeenText:
text "Um…"
line "I…"
done
PicnickerSharonBeatenText:
text "…"
done
PicnickerSharonAfterBattleText:
text "……I'll go train"
line "some more…"
done
MtMoonSquareSignText:
text "MT.MOON SQUARE"
para "Just go up the"
line "stairs."
done
Route4_MapEvents:
db 0, 0 ; filler
db 1 ; warp events
warp_event 2, 5, MOUNT_MOON, 2
db 0 ; coord events
db 2 ; bg events
bg_event 3, 7, BGEVENT_READ, MtMoonSquareSign
bg_event 10, 3, BGEVENT_ITEM, Route4HiddenUltraBall
db 4 ; object events
object_event 17, 9, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerBirdKeeperHank, -1
object_event 10, 8, SPRITE_LASS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 5, TrainerPicnickerHope, -1
object_event 21, 6, SPRITE_LASS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 4, TrainerPicnickerSharon, -1
object_event 26, 3, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, Route4HPUp, EVENT_ROUTE_4_HP_UP

198
maps/Route8.asm Normal file
View File

@@ -0,0 +1,198 @@
const_def 2 ; object constants
const ROUTE8_BIKER1
const ROUTE8_BIKER2
const ROUTE8_BIKER3
const ROUTE8_SUPER_NERD1
const ROUTE8_SUPER_NERD2
const ROUTE8_FRUIT_TREE
Route8_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
TrainerBikerDwayne:
trainer BIKER, DWAYNE, EVENT_BEAT_BIKER_DWAYNE, BikerDwayneSeenText, BikerDwayneBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext BikerDwayneAfterBattleText
waitbutton
closetext
end
TrainerBikerHarris:
trainer BIKER, HARRIS, EVENT_BEAT_BIKER_HARRIS, BikerHarrisSeenText, BikerHarrisBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext BikerHarrisAfterBattleText
waitbutton
closetext
end
TrainerBikerZeke:
trainer BIKER, ZEKE, EVENT_BEAT_BIKER_ZEKE, BikerZekeSeenText, BikerZekeBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext BikerZekeAfterBattleText
waitbutton
closetext
end
TrainerSupernerdSam:
trainer SUPER_NERD, SAM, EVENT_BEAT_SUPER_NERD_SAM, SupernerdSamSeenText, SupernerdSamBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext SupernerdSamAfterBattleText
waitbutton
closetext
end
TrainerSupernerdTom:
trainer SUPER_NERD, TOM, EVENT_BEAT_SUPER_NERD_TOM, SupernerdTomSeenText, SupernerdTomBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext SupernerdTomAfterBattleText
waitbutton
closetext
end
Route8LockedDoor:
jumptext Route8LockedDoorText
Route8UndergroundPathSign:
jumptext Route8UndergroundPathSignText
Route8FruitTree:
fruittree FRUITTREE_ROUTE_8
BikerDwayneSeenText:
text "We're the KANTO"
line "#MON FEDERATION"
cont "trainer group."
para "We'll drive you"
line "under our wheels!"
done
BikerDwayneBeatenText:
text "S-sorry!"
done
BikerDwayneAfterBattleText:
text "The KANTO #MON"
line "FEDERATION will"
cont "never fall!"
done
BikerHarrisSeenText:
text "The cops shut down"
line "our UNDERGROUND"
para "PATH! That really"
line "fries me!"
done
BikerHarrisBeatenText:
text "F-forgive me!"
done
BikerHarrisAfterBattleText:
text "Wiped out by some"
line "punk from JOHTO…"
done
BikerZekeSeenText:
text "We're the KANTO"
line "#MON FEDERA-"
cont "TION!"
cont "Right on, dude!"
done
BikerZekeBeatenText:
text "Yikes! Sorry!"
done
BikerZekeAfterBattleText:
text "We'll try not to"
line "disturb anyone"
cont "from now on…"
done
SupernerdSamSeenText:
text "How does the MAG-"
line "NET TRAIN work?"
done
SupernerdSamBeatenText:
text "I just want to see"
line "the MAGNET TRAIN…"
done
SupernerdSamAfterBattleText:
text "The power of mag-"
line "nets is awesome!"
done
SupernerdTomSeenText:
text "We can't do with-"
line "out electricity."
para "The POWER PLANT"
line "supplies us with"
cont "electricity."
done
SupernerdTomBeatenText:
text "Don't waste"
line "electricity!"
done
SupernerdTomAfterBattleText:
text "The POWER PLANT"
line "north of LAVENDER"
para "supplies power to"
line "the MAGNET TRAIN."
done
Route8LockedDoorText:
text "It's locked…"
done
Route8UndergroundPathSignText:
text "The flyer's torn."
para "It's impossible to"
line "read…"
done
Route8_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
warp_event 4, 4, ROUTE_8_SAFFRON_GATE, 3
warp_event 4, 5, ROUTE_8_SAFFRON_GATE, 4
db 0 ; coord events
db 2 ; bg events
bg_event 11, 7, BGEVENT_READ, Route8UndergroundPathSign
bg_event 10, 5, BGEVENT_READ, Route8LockedDoor
db 6 ; object events
object_event 10, 8, SPRITE_BIKER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 5, TrainerBikerDwayne, -1
object_event 10, 9, SPRITE_BIKER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 5, TrainerBikerHarris, -1
object_event 10, 10, SPRITE_BIKER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 5, TrainerBikerZeke, -1
object_event 20, 6, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 4, TrainerSupernerdSam, -1
object_event 27, 9, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 2, TrainerSupernerdTom, -1
object_event 33, 5, SPRITE_FRUIT_TREE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Route8FruitTree, -1

224
maps/Route9.asm Normal file
View File

@@ -0,0 +1,224 @@
const_def 2 ; object constants
const ROUTE9_YOUNGSTER1
const ROUTE9_LASS1
const ROUTE9_YOUNGSTER2
const ROUTE9_LASS2
const ROUTE9_POKEFAN_M1
const ROUTE9_POKEFAN_M2
Route9_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
TrainerCamperDean:
trainer CAMPER, DEAN, EVENT_BEAT_CAMPER_DEAN, CamperDeanSeenText, CamperDeanBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext CamperDeanAfterBattleText
waitbutton
closetext
end
TrainerPicnickerHeidi:
trainer PICNICKER, HEIDI, EVENT_BEAT_PICNICKER_HEIDI, PicnickerHeidiSeenText, PicnickerHeidiBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext PicnickerHeidiAfterBattleText
waitbutton
closetext
end
TrainerCamperSid:
trainer CAMPER, SID, EVENT_BEAT_CAMPER_SID, CamperSidSeenText, CamperSidBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext CamperSidAfterBattleText
waitbutton
closetext
end
TrainerPicnickerEdna:
trainer PICNICKER, EDNA, EVENT_BEAT_PICNICKER_EDNA, PicnickerEdnaSeenText, PicnickerEdnaBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext PicnickerEdnaAfterBattleText
waitbutton
closetext
end
TrainerHikerTim:
trainer HIKER, TIM, EVENT_BEAT_HIKER_TIM, HikerTimSeenText, HikerTimBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext HikerTimAfterBattleText
waitbutton
closetext
end
TrainerHikerSidney:
trainer HIKER, SIDNEY, EVENT_BEAT_HIKER_SIDNEY, HikerSidneySeenText, HikerSidneyBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext HikerSidneyAfterBattleText
waitbutton
closetext
end
Route9Sign:
jumptext Route9SignText
Route9HiddenEther:
hiddenitem ETHER, EVENT_ROUTE_9_HIDDEN_ETHER
CamperDeanSeenText:
text "I came to explore"
line "ROCK TUNNEL."
done
CamperDeanBeatenText:
text "Whoa! Danger, man."
done
CamperDeanAfterBattleText:
text "My #MON were"
line "hurt before even"
para "entering ROCK"
line "TUNNEL."
para "I'd better take"
line "them to a #MON"
cont "CENTER right away."
done
PicnickerHeidiSeenText:
text "Have you ever been"
line "to a picnic?"
para "They're so much"
line "fun!"
done
PicnickerHeidiBeatenText:
text "Ohhhh!"
done
PicnickerHeidiAfterBattleText:
text "We bake lots of"
line "goodies and share"
para "them all around."
line "They're delicious!"
done
CamperSidSeenText:
text "Hey, you!"
line "Don't litter!"
done
CamperSidBeatenText:
text "I was just point-"
line "ing out…"
done
CamperSidAfterBattleText:
text "Sorry. You weren't"
line "littering. It was"
cont "my mistake."
done
PicnickerEdnaSeenText:
text "People shouldn't"
line "leave any litter"
cont "behind."
done
PicnickerEdnaBeatenText:
text "Ohh… I lost…"
done
PicnickerEdnaAfterBattleText:
text "Conserving energy"
line "is important, but"
para "the environment is"
line "even more vital."
done
HikerTimSeenText:
text "She'll be coming"
line "'round MT.SILVER"
cont "when she comes…"
para "MT.SILVER is in"
line "JOHTO, right?"
done
HikerTimBeatenText:
text "I was too busy"
line "singing…"
done
HikerTimAfterBattleText:
text "Battles are about"
line "concentration."
done
HikerSidneySeenText:
text "I'll tell you a"
line "secret."
para "But first, we"
line "battle!"
done
HikerSidneyBeatenText:
text "Oh, dang!"
line "I lost that…"
done
HikerSidneyAfterBattleText:
text "The POWER PLANT is"
line "across a small"
cont "river."
done
Route9SignText:
text "ROUTE 9"
para "CERULEAN CITY -"
line "ROCK TUNNEL"
done
Route9_MapEvents:
db 0, 0 ; filler
db 1 ; warp events
warp_event 48, 15, ROCK_TUNNEL_1F, 1
db 0 ; coord events
db 2 ; bg events
bg_event 15, 7, BGEVENT_READ, Route9Sign
bg_event 10, 5, BGEVENT_ITEM, Route9HiddenEther
db 6 ; object events
object_event 23, 11, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 3, TrainerCamperDean, -1
object_event 35, 8, SPRITE_LASS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 2, TrainerPicnickerHeidi, -1
object_event 11, 2, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 2, TrainerCamperSid, -1
object_event 9, 10, SPRITE_LASS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 1, TrainerPicnickerEdna, -1
object_event 32, 3, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 4, TrainerHikerTim, -1
object_event 33, 15, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 4, TrainerHikerSidney, -1