mirror of
https://github.com/pret/pokered.git
synced 2024-10-23 06:58:24 +00:00
d001ced41b
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.
30 lines
1 KiB
NASM
30 lines
1 KiB
NASM
object_const_def
|
|
const POKEMONFANCLUB_PIKACHU_FAN
|
|
const POKEMONFANCLUB_SEEL_FAN
|
|
const POKEMONFANCLUB_PIKACHU
|
|
const POKEMONFANCLUB_SEEL
|
|
const POKEMONFANCLUB_CHAIRMAN
|
|
const POKEMONFANCLUB_RECEPTIONIST
|
|
const POKEMONFANCLUB_SIGN_1
|
|
const POKEMONFANCLUB_SIGN_2
|
|
|
|
PokemonFanClub_Object:
|
|
db $d ; border block
|
|
|
|
def_warp_events
|
|
warp_event 2, 7, LAST_MAP, 2
|
|
warp_event 3, 7, LAST_MAP, 2
|
|
|
|
def_bg_events
|
|
bg_event 1, 0, TEXT_POKEMONFANCLUB_SIGN_1
|
|
bg_event 6, 0, TEXT_POKEMONFANCLUB_SIGN_2
|
|
|
|
def_object_events
|
|
object_event 6, 3, SPRITE_FISHER, STAY, LEFT, TEXT_POKEMONFANCLUB_PIKACHU_FAN
|
|
object_event 1, 3, SPRITE_GIRL, STAY, RIGHT, TEXT_POKEMONFANCLUB_SEEL_FAN
|
|
object_event 6, 4, SPRITE_FAIRY, STAY, LEFT, TEXT_POKEMONFANCLUB_PIKACHU
|
|
object_event 1, 4, SPRITE_SEEL, STAY, RIGHT, TEXT_POKEMONFANCLUB_SEEL
|
|
object_event 3, 1, SPRITE_GENTLEMAN, STAY, DOWN, TEXT_POKEMONFANCLUB_CHAIRMAN
|
|
object_event 5, 1, SPRITE_LINK_RECEPTIONIST, STAY, DOWN, TEXT_POKEMONFANCLUB_RECEPTIONIST
|
|
|
|
def_warps_to POKEMON_FAN_CLUB
|