pokered/data/maps/objects/Route2.asm
vulcandth d001ced41b
Add macros, constants, and labels for map scripts and text (#367)
This introduces `def_script_pointers`, `def_text_pointers`, and `object_const_def` macros, and applies them to all maps. Most other map labels have also been identified.
2023-07-13 21:27:56 -04:00

32 lines
786 B
NASM

object_const_def
const ROUTE2_MOON_STONE
const ROUTE2_HP_UP
Route2_Object:
db $f ; border block
def_warp_events
warp_event 12, 9, DIGLETTS_CAVE_ROUTE_2, 1
warp_event 3, 11, VIRIDIAN_FOREST_NORTH_GATE, 2
warp_event 15, 19, ROUTE_2_TRADE_HOUSE, 1
warp_event 16, 35, ROUTE_2_GATE, 2
warp_event 15, 39, ROUTE_2_GATE, 3
warp_event 3, 43, VIRIDIAN_FOREST_SOUTH_GATE, 3
def_bg_events
bg_event 5, 65, TEXT_ROUTE2_SIGN
bg_event 11, 11, TEXT_ROUTE2_DIGLETTS_CAVE_SIGN
def_object_events
object_event 13, 54, SPRITE_POKE_BALL, STAY, NONE, TEXT_ROUTE2_MOON_STONE, MOON_STONE
object_event 13, 45, SPRITE_POKE_BALL, STAY, NONE, TEXT_ROUTE2_HP_UP, HP_UP
def_warps_to ROUTE_2
; unused
warp_to 2, 7, 4
db $12, $c7, $9, $7
warp_to 2, 7, 4
warp_to 2, 7, 4
warp_to 2, 7, 4