pokecrystal-board/maps/OlivineTimsHouse.asm
Remy Oukaour c05b7f41dd Renaming: (fix #412)
- MapTriggers / maptrigger → SceneScripts / scene_script
- XYTriggers / xy_trigger → CoordEvents / coord_event
- Signposts / signpost → BGEvents / bg_event
- PersonEvents / person_event → ObjectEvents / object_event
2017-12-24 14:33:17 -05:00

42 lines
673 B
NASM

const_value set 2
const OLIVINETIMSHOUSE_TIM
OlivineTimsHouse_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
Tim:
faceplayer
opentext
trade NPCTRADE_TIM
waitbutton
closetext
end
TimsHouseBookshelf:
jumpstd magazinebookshelf
OlivineTimsHouse_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $2, 3, OLIVINE_CITY
warp_def $7, $3, 3, OLIVINE_CITY
.CoordEvents:
db 0
.BGEvents:
db 2
bg_event 1, 0, BGEVENT_READ, TimsHouseBookshelf
bg_event 1, 1, BGEVENT_READ, TimsHouseBookshelf
.ObjectEvents:
db 1
object_event SPRITE_FISHING_GURU, 3, 2, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Tim, -1