mirror of
https://github.com/pret/pokered.git
synced 2026-08-01 00:05:19 -05:00
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.
22 lines
700 B
NASM
22 lines
700 B
NASM
object_const_def
|
|
const CINNABARLABMETRONOMEROOM_SCIENTIST1
|
|
const CINNABARLABMETRONOMEROOM_SCIENTIST2
|
|
|
|
CinnabarLabMetronomeRoom_Object:
|
|
db $17 ; border block
|
|
|
|
def_warp_events
|
|
warp_event 2, 7, CINNABAR_LAB, 4
|
|
warp_event 3, 7, CINNABAR_LAB, 4
|
|
|
|
def_bg_events
|
|
bg_event 0, 4, TEXT_CINNABARLABMETRONOMEROOM_PC_KEYBOARD
|
|
bg_event 1, 4, TEXT_CINNABARLABMETRONOMEROOM_PC_MONITOR
|
|
bg_event 2, 1, TEXT_CINNABARLABMETRONOMEROOM_AMBER_PIPE
|
|
|
|
def_object_events
|
|
object_event 7, 2, SPRITE_SCIENTIST, STAY, DOWN, TEXT_CINNABARLABMETRONOMEROOM_SCIENTIST1
|
|
object_event 2, 3, SPRITE_SCIENTIST, WALK, LEFT_RIGHT, TEXT_CINNABARLABMETRONOMEROOM_SCIENTIST2
|
|
|
|
def_warps_to CINNABAR_LAB_METRONOME_ROOM
|