pokecrystal/maps/SilverCaveRoom3.asm

63 lines
1016 B
NASM
Raw Normal View History

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