pokecrystal-board/maps/VioletOnixTradeHouse.asm
PikalaxALT 432df825d4 Replaced GROUP_, MAP_ references with the map macro
Updated macros that rely on the GROUP_, MAP_ constants to use the map macro

Added GROUP_NONE and MAP_NONE for the sake of compatibility with this new scheme

Added new macro elevfloor to simplify the definition of elevators under this new scheme
2015-07-23 12:59:19 -04:00

50 lines
845 B
NASM

VioletOnixTradeHouse_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
PokefanMScript_0x6998d:
jumptextfaceplayer UnknownText_0x69997
YoungsterScript_0x69990:
faceplayer
loadfont
trade $1
closetext
loadmovesprites
end
UnknownText_0x69997:
text "A #MON you get"
line "in a trade grows"
cont "quickly."
para "But if you don't"
line "have the right GYM"
para "BADGE, they may"
line "disobey you."
done
VioletOnixTradeHouse_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $3, 6, VIOLET_CITY
warp_def $7, $4, 6, VIOLET_CITY
.XYTriggers:
db 0
.Signposts:
db 0
.PersonEvents:
db 2
person_event SPRITE_POKEFAN_M, 7, 6, OW_DOWN | $3, $0, -1, -1, $0, 0, PokefanMScript_0x6998d, -1
person_event SPRITE_YOUNGSTER, 9, 10, OW_UP | $0, $20, -1, -1, (PAL_OW_RED << 4) | $80, 0, YoungsterScript_0x69990, -1