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
71 lines
1.4 KiB
NASM
71 lines
1.4 KiB
NASM
const_value set 2
|
|
const VIOLETMART_CLERK
|
|
const VIOLETMART_GRANNY
|
|
const VIOLETMART_COOLTRAINER_M
|
|
|
|
VioletMart_MapScriptHeader:
|
|
.SceneScripts:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
ClerkScript_0x68295:
|
|
opentext
|
|
pokemart MARTTYPE_STANDARD, MART_VIOLET
|
|
closetext
|
|
end
|
|
|
|
VioletMartGrannyScript:
|
|
jumptextfaceplayer VioletMartGrannyText
|
|
|
|
VioletMartCooltrainerMScript:
|
|
jumptextfaceplayer VioletMartCooltrainerMText
|
|
|
|
VioletMartGrannyText:
|
|
text "When you first"
|
|
line "catch a #MON,"
|
|
cont "it may be weak."
|
|
|
|
para "But it will even-"
|
|
line "tually grow to be"
|
|
cont "strong."
|
|
|
|
para "It's important to"
|
|
line "treat #MON with"
|
|
cont "love."
|
|
done
|
|
|
|
VioletMartCooltrainerMText:
|
|
text "#MON can hold"
|
|
line "items like POTION"
|
|
cont "and ANTIDOTE."
|
|
|
|
para "But they don't"
|
|
line "appear to know how"
|
|
|
|
para "to use manmade"
|
|
line "items."
|
|
done
|
|
|
|
VioletMart_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 2
|
|
warp_def $7, $2, 1, VIOLET_CITY
|
|
warp_def $7, $3, 1, VIOLET_CITY
|
|
|
|
.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_0x68295, -1
|
|
object_event SPRITE_GRANNY, 6, 7, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VioletMartGrannyScript, -1
|
|
object_event SPRITE_COOLTRAINER_M, 2, 5, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, VioletMartCooltrainerMScript, -1
|