pokecrystal-board/maps/IlexForestAzaleaGate.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

54 lines
1.1 KiB
NASM

const_value set 2
const ILEXFORESTAZALEAGATE_OFFICER
const ILEXFORESTAZALEAGATE_GRANNY
IlexForestAzaleaGate_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
IlexForestAzaleaGateOfficerScript:
jumptextfaceplayer IlexForestAzaleaGateOfficerText
IlexForestAzaleaGateGrannyScript:
jumptextfaceplayer IlexForestAzaleaGateGrannyText
IlexForestAzaleaGateOfficerText:
text "ILEX FOREST is"
line "big. Be careful!"
cont "Don't get lost."
done
IlexForestAzaleaGateGrannyText:
text "The FOREST is"
line "watched over by"
cont "its protector."
para "Stay out of"
line "mischief!"
done
IlexForestAzaleaGate_MapEventHeader:
; filler
db 0, 0
.Warps:
db 4
warp_def $4, $0, 2, ILEX_FOREST
warp_def $5, $0, 3, ILEX_FOREST
warp_def $4, $9, 7, AZALEA_TOWN
warp_def $5, $9, 8, AZALEA_TOWN
.CoordEvents:
db 0
.BGEvents:
db 0
.ObjectEvents:
db 2
object_event SPRITE_OFFICER, 2, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, IlexForestAzaleaGateOfficerScript, -1
object_event SPRITE_GRANNY, 3, 1, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, IlexForestAzaleaGateGrannyScript, -1