pokecrystal-board/maps/Route2.asm

176 lines
4.3 KiB
NASM
Raw Normal View History

2018-01-31 08:38:45 -08:00
const_def 2 ; object constants
2015-11-26 21:22:14 -08:00
const ROUTE2_BUG_CATCHER1
const ROUTE2_BUG_CATCHER2
const ROUTE2_BUG_CATCHER3
const ROUTE2_POKE_BALL1
const ROUTE2_POKE_BALL2
const ROUTE2_POKE_BALL3
const ROUTE2_POKE_BALL4
const ROUTE2_FRUIT_TREE
Route2_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
TrainerBugCatcherRob:
trainer BUG_CATCHER, ROB, EVENT_BEAT_BUG_CATCHER_ROB, BugCatcherRobSeenText, BugCatcherRobBeatenText, 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
writetext BugCatcherRobAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
TrainerBugCatcherEd:
trainer BUG_CATCHER, ED, EVENT_BEAT_BUG_CATCHER_ED, BugCatcherEdSeenText, BugCatcherEdBeatenText, 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
writetext BugCatcherEdAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
TrainerBugCatcherDoug:
trainer BUG_CATCHER, DOUG, EVENT_BEAT_BUG_CATCHER_DOUG, BugCatcherDougSeenText, BugCatcherDougBeatenText, 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
writetext BugCatcherDougAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2016-04-06 21:59:45 -07:00
Route2Sign:
jumptext Route2SignText
2015-07-10 01:20:21 -07:00
MapRoute2Signpost1Script:
jumptext UnknownText_0x1ac49f
2015-12-15 07:55:56 -08:00
Route2DireHit:
itemball DIRE_HIT
2015-12-15 07:55:56 -08:00
Route2MaxPotion:
itemball MAX_POTION
2015-12-15 07:55:56 -08:00
Route2Carbos:
itemball CARBOS
2015-12-15 07:55:56 -08:00
Route2Elixer:
itemball ELIXER
2015-07-10 01:20:21 -07:00
FruitTreeScript_0x1ac306:
2015-11-18 07:42:42 -08:00
fruittree FRUITTREE_ROUTE_2
Route2HiddenMaxEther:
hiddenitem MAX_ETHER, EVENT_ROUTE_2_HIDDEN_MAX_ETHER
Route2HiddenFullHeal:
hiddenitem FULL_HEAL, EVENT_ROUTE_2_HIDDEN_FULL_HEAL
Route2HiddenFullRestore:
hiddenitem FULL_RESTORE, EVENT_ROUTE_2_HIDDEN_FULL_RESTORE
Route2HiddenRevive:
hiddenitem REVIVE, EVENT_ROUTE_2_HIDDEN_REVIVE
BugCatcherRobSeenText:
text "My bug #MON are"
line "tough. Prepare to"
cont "lose!"
done
BugCatcherRobBeatenText:
text "I was whipped…"
done
BugCatcherRobAfterBattleText:
text "I'm going to look"
line "for stronger bug"
cont "#MON."
done
BugCatcherEdSeenText:
text "If you walk in"
line "tall grass wearing"
para "shorts, do you get"
line "nicks and cuts?"
done
BugCatcherEdBeatenText:
text "Ouch, ouch, ouch!"
done
BugCatcherEdAfterBattleText:
text "They'll really"
line "sting when you"
cont "take a bath."
done
BugCatcherDougSeenText:
text "Why don't girls"
line "like bug #MON?"
done
BugCatcherDougBeatenText:
text "No good!"
done
BugCatcherDougAfterBattleText:
text "Bug #MON squish"
line "like plush toys"
para "when you squeeze"
line "their bellies."
para "I love how they"
line "feel!"
done
2016-04-06 21:59:45 -07:00
Route2SignText:
text "ROUTE 2"
para "VIRIDIAN CITY -"
line "PEWTER CITY"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x1ac49f:
text "DIGLETT'S CAVE"
done
Route2_MapEvents:
db 0, 0 ; filler
db 5 ; warp events
warp_event 15, 15, 1, ROUTE_2_NUGGET_HOUSE
warp_event 15, 31, 3, ROUTE_2_GATE
warp_event 16, 27, 1, ROUTE_2_GATE
warp_event 17, 27, 2, ROUTE_2_GATE
warp_event 12, 7, 3, DIGLETTS_CAVE
db 0 ; coord events
db 6 ; bg events
bg_event 7, 51, BGEVENT_READ, Route2Sign
bg_event 11, 9, BGEVENT_READ, MapRoute2Signpost1Script
bg_event 7, 23, BGEVENT_ITEM, Route2HiddenMaxEther
bg_event 4, 14, BGEVENT_ITEM, Route2HiddenFullHeal
bg_event 4, 27, BGEVENT_ITEM, Route2HiddenFullRestore
bg_event 11, 30, BGEVENT_ITEM, Route2HiddenRevive
db 8 ; object events
object_event 10, 45, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 5, TrainerBugCatcherRob, -1
object_event 6, 4, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_SPINCLOCKWISE, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerBugCatcherEd, -1
object_event 0, 40, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerBugCatcherDoug, -1
object_event 0, 29, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, Route2DireHit, EVENT_ROUTE_2_DIRE_HIT
object_event 2, 23, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, Route2MaxPotion, EVENT_ROUTE_2_MAX_POTION
object_event 19, 2, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, Route2Carbos, EVENT_ROUTE_2_CARBOS
object_event 14, 50, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, Route2Elixer, EVENT_ROUTE_2_ELIXER
object_event 10, 14, SPRITE_FRUIT_TREE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FruitTreeScript_0x1ac306, -1