mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
c05b7f41dd
- MapTriggers / maptrigger → SceneScripts / scene_script - XYTriggers / xy_trigger → CoordEvents / coord_event - Signposts / signpost → BGEvents / bg_event - PersonEvents / person_event → ObjectEvents / object_event
70 lines
1.4 KiB
NASM
70 lines
1.4 KiB
NASM
const_value set 2
|
|
const LAVENDERMART_CLERK
|
|
const LAVENDERMART_POKEFAN_M
|
|
const LAVENDERMART_ROCKER
|
|
|
|
LavenderMart_MapScriptHeader:
|
|
.SceneScripts:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
ClerkScript_0x7eb1c:
|
|
opentext
|
|
pokemart MARTTYPE_STANDARD, MART_LAVENDER
|
|
closetext
|
|
end
|
|
|
|
LavenderMartPokefanMScript:
|
|
jumptextfaceplayer LavenderMartPokefanMText
|
|
|
|
LavenderMartRockerScript:
|
|
jumptextfaceplayer LavenderMartRockerText
|
|
|
|
LavenderMartPokefanMText:
|
|
text "REPEL is a neces-"
|
|
line "sity if you are"
|
|
|
|
para "going to explore a"
|
|
line "cave."
|
|
|
|
para "Even though I like"
|
|
line "exploring, I still"
|
|
|
|
para "haven't made it to"
|
|
line "all the caves."
|
|
done
|
|
|
|
LavenderMartRockerText:
|
|
text "I heard about a"
|
|
line "craftsman who"
|
|
|
|
para "makes custom BALLS"
|
|
line "in the JOHTO town"
|
|
|
|
para "of AZALEA. I wish"
|
|
line "I had some."
|
|
done
|
|
|
|
LavenderMart_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 2
|
|
warp_def $7, $2, 5, LAVENDER_TOWN
|
|
warp_def $7, $3, 5, LAVENDER_TOWN
|
|
|
|
.CoordEvents:
|
|
db 0
|
|
|
|
.BGEvents:
|
|
db 0
|
|
|
|
.ObjectEvents:
|
|
db 3
|
|
object_event SPRITE_CLERK, 3, 1, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x7eb1c, -1
|
|
object_event SPRITE_POKEFAN_M, 6, 6, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 2, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, LavenderMartPokefanMScript, -1
|
|
object_event SPRITE_ROCKER, 2, 9, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LavenderMartRockerScript, -1
|