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

68 lines
1.4 KiB
NASM

const_value set 2
const ECRUTEAKMART_CLERK
const ECRUTEAKMART_SUPER_NERD
const ECRUTEAKMART_GRANNY
EcruteakMart_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
ClerkScript_0x99c3b:
opentext
pokemart MARTTYPE_STANDARD, MART_ECRUTEAK
closetext
end
EcruteakMartSuperNerdScript:
jumptextfaceplayer EcruteakMartSuperNerdText
EcruteakMartGrannyScript:
jumptextfaceplayer EcruteakMartGrannyText
EcruteakMartSuperNerdText:
text "My EEVEE evolved"
line "into an ESPEON."
para "But my friend's"
line "EEVEE turned into"
cont "an UMBREON."
para "I wonder why? We"
line "both were raising"
para "our EEVEE in the"
line "same way…"
done
EcruteakMartGrannyText:
text "If you use REVIVE,"
line "a #MON that's"
para "fainted will wake"
line "right up."
done
EcruteakMart_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $2, 9, ECRUTEAK_CITY
warp_def $7, $3, 9, ECRUTEAK_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_0x99c3b, -1
object_event SPRITE_SUPER_NERD, 2, 5, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, EcruteakMartSuperNerdScript, -1
object_event SPRITE_GRANNY, 6, 6, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakMartGrannyScript, -1