pokecrystal-board/maps/VioletOnixTradeHouse.asm
Remy Oukaour 31cce83e9b Move lots of data tables into individual data/ files
(This is not expected to be their final location, but it makes them easier to relocate when necessary, and easier for users to edit until the whole project's file structure is finalized.)
2017-12-11 14:23:18 -05:00

54 lines
965 B
NASM

const_value set 2
const VIOLETONIXTRADEHOUSE_POKEFAN_M
const VIOLETONIXTRADEHOUSE_KYLE
VioletOnixTradeHouse_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
PokefanMScript_0x6998d:
jumptextfaceplayer UnknownText_0x69997
Kyle:
faceplayer
opentext
trade NPCTRADE_KYLE
waitbutton
closetext
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, 3, 2, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, PokefanMScript_0x6998d, -1
person_event SPRITE_YOUNGSTER, 5, 6, SPRITEMOVEDATA_WALK_UP_DOWN, 2, 0, -1, -1, PAL_NPC_RED, PERSONTYPE_SCRIPT, 0, Kyle, -1