pokecrystal-board/maps/SilverCaveRoom3.asm

63 lines
1018 B
NASM
Raw Normal View History

2018-01-31 08:38:45 -08:00
const_def 2 ; object constants
2015-11-26 21:22:14 -08:00
const SILVERCAVEROOM3_RED
SilverCaveRoom3_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2016-04-07 03:13:59 -07:00
Red:
special FadeOutMusic
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2016-04-07 03:13:59 -07:00
writetext .Text1
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2016-04-07 03:13:59 -07:00
winlosstext .Text2, .Text2
loadtrainer RED, RED1
startbattle
dontrestartmapmusic
reloadmapafterbattle
special FadeOutMusic
2015-12-09 15:25:44 -08:00
opentext
2016-04-07 03:13:59 -07:00
writetext .Text3
2015-11-25 07:16:29 -08:00
waitbutton
closetext
special FadeBlackQuickly
2018-01-02 09:49:25 -08:00
special ReloadSpritesNoPalettes
2015-11-26 21:22:14 -08:00
disappear SILVERCAVEROOM3_RED
pause 15
special FadeInQuickly
pause 30
special HealParty
2018-01-11 22:40:20 -08:00
refreshscreen
credits
end
2016-04-07 03:13:59 -07:00
.Text1:
2018-01-18 23:30:19 -08:00
text "<……>"
line "<……>"
done
2016-04-07 03:13:59 -07:00
.Text2:
text "…"
done
2016-04-07 03:13:59 -07:00
.Text3:
2018-01-18 23:30:19 -08:00
text "<……>"
line "<……>"
done
SilverCaveRoom3_MapEvents:
db 0, 0 ; filler
db 1 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 9, 33, SILVER_CAVE_ROOM_2, 2
db 0 ; coord events
db 0 ; bg events
db 1 ; object events
2018-02-01 19:22:07 -08:00
object_event 9, 10, SPRITE_RED, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Red, EVENT_RED_IN_MT_SILVER