mirror of https://github.com/pret/pokecrystal.git
35 lines
711 B
NASM
35 lines
711 B
NASM
object_const_def ; object_event constants
|
|
const OLIVINETIMSHOUSE_TIM
|
|
|
|
OlivineTimsHouse_MapScripts:
|
|
db 0 ; scene scripts
|
|
|
|
db 0 ; callbacks
|
|
|
|
Tim:
|
|
faceplayer
|
|
opentext
|
|
trade NPC_TRADE_TIM
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
TimsHouseBookshelf:
|
|
jumpstd MagazineBookshelfScript
|
|
|
|
OlivineTimsHouse_MapEvents:
|
|
db 0, 0 ; filler
|
|
|
|
db 2 ; warp events
|
|
warp_event 2, 7, OLIVINE_CITY, 3
|
|
warp_event 3, 7, OLIVINE_CITY, 3
|
|
|
|
db 0 ; coord events
|
|
|
|
db 2 ; bg events
|
|
bg_event 0, 1, BGEVENT_READ, TimsHouseBookshelf
|
|
bg_event 1, 1, BGEVENT_READ, TimsHouseBookshelf
|
|
|
|
db 1 ; object events
|
|
object_event 2, 3, SPRITE_FISHING_GURU, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Tim, -1
|