pokecrystal/maps/CeladonMansion3F.asm

213 lines
4.6 KiB
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 CELADONMANSION3F_COOLTRAINER_M
const CELADONMANSION3F_GYM_GUY
const CELADONMANSION3F_SUPER_NERD
const CELADONMANSION3F_FISHER
CeladonMansion3F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2018-08-19 17:56:41 +00:00
GameFreakGameDesignerScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2018-08-19 17:56:41 +00:00
writetext GameFreakGameDesignerText
checkcode VAR_DEXCAUGHT
2018-02-28 22:47:31 +00:00
ifgreater NUM_POKEMON - 2 - 1, .CompletedPokedex ; ignore Mew and Celebi
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2018-02-28 22:47:31 +00:00
.CompletedPokedex:
2015-11-30 03:29:45 +00:00
buttonsound
2018-08-19 17:56:41 +00:00
writetext GameFreakGameDesignerCompletedPokedexText
playsound SFX_DEX_FANFARE_230_PLUS
2015-11-25 15:16:29 +00:00
waitsfx
2018-08-19 17:56:41 +00:00
writetext GameFreakGameDesignerPauseForDiplomaText
2015-11-30 03:29:45 +00:00
buttonsound
special Diploma
2018-08-19 17:56:41 +00:00
writetext GameFreakGameDesignerAfterDiplomaText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2013-09-24 07:48:58 +00:00
setevent EVENT_ENABLE_DIPLOMA_PRINTING
end
2018-08-19 17:56:41 +00:00
GameFreakGraphicArtistScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_ENABLE_DIPLOMA_PRINTING
2018-02-28 22:47:31 +00:00
iftrue .CanPrintDiploma
2018-08-19 17:56:41 +00:00
writetext GameFreakGraphicArtistText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2018-02-28 22:47:31 +00:00
.CanPrintDiploma:
2018-08-19 17:56:41 +00:00
writetext GameFreakGraphicArtistPrintDiplomaText
yesorno
2018-02-28 22:47:31 +00:00
iffalse .Refused
special PrintDiploma
2015-11-25 15:16:29 +00:00
closetext
end
2018-02-28 22:47:31 +00:00
.Refused:
2018-08-19 17:56:41 +00:00
writetext GameFreakGraphicArtistRefusedText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2018-03-01 18:18:51 +00:00
.CancelPrinting:
; unused
2018-08-19 17:56:41 +00:00
writetext GameFreakGraphicArtistErrorText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2018-08-19 17:56:41 +00:00
GameFreakProgrammerScript:
jumptextfaceplayer GameFreakProgrammerText
2018-08-19 17:56:41 +00:00
GameFreakCharacterDesignerScript:
jumptextfaceplayer GameFreakCharacterDesignerText
CeladonMansion3FDevRoomSign:
jumptext CeladonMansion3FDevRoomSignText
CeladonMansion3FDrawing:
jumptext CeladonMansion3FDrawingText
CeladonMansion3FGameProgram:
jumptext CeladonMansion3FGameProgramText
CeladonMansion3FReferenceMaterial:
jumptext CeladonMansion3FReferenceMaterialText
2018-08-19 17:56:41 +00:00
GameFreakGameDesignerText:
text "Is that right?"
para "I'm the GAME"
line "DESIGNER!"
para "Filling up your"
line "#DEX is tough,"
cont "but don't give up!"
done
2018-08-19 17:56:41 +00:00
GameFreakGameDesignerCompletedPokedexText:
text "Wow! Excellent!"
line "You completed your"
cont "#DEX!"
para "Congratulations!"
done
2018-08-19 17:56:41 +00:00
GameFreakGameDesignerPauseForDiplomaText:
text "…"
done
2018-08-19 17:56:41 +00:00
GameFreakGameDesignerAfterDiplomaText:
text "The GRAPHIC ARTIST"
line "will print out a"
cont "DIPLOMA for you."
para "You should go show"
line "it off."
done
2018-08-19 17:56:41 +00:00
GameFreakGraphicArtistText:
text "I'm the GRAPHIC"
line "ARTIST."
para "I drew you!"
done
2018-08-19 17:56:41 +00:00
GameFreakGraphicArtistPrintDiplomaText:
text "I'm the GRAPHIC"
line "ARTIST."
para "Oh, you completed"
line "your #DEX?"
para "Want me to print"
line "out your DIPLOMA?"
done
2018-08-19 17:56:41 +00:00
GameFreakGraphicArtistRefusedText:
text "Give me a shout if"
line "you want your"
cont "DIPLOMA printed."
done
2018-08-19 17:56:41 +00:00
GameFreakGraphicArtistErrorText:
text "Something's wrong."
line "I'll have to can-"
cont "cel printing."
done
2018-08-19 17:56:41 +00:00
GameFreakProgrammerText:
text "Who, me? I'm the"
line "PROGRAMMER."
para "Play the slot"
line "machines!"
done
2018-08-19 17:56:41 +00:00
GameFreakCharacterDesignerText:
text "Aren't the TWINS"
line "adorable?"
para "JASMINE's pretty"
line "too."
para "Oh, I love them!"
done
CeladonMansion3FDevRoomSignText:
text "GAME FREAK"
line "DEVELOPMENT ROOM"
done
CeladonMansion3FDrawingText:
text "It's a detailed"
line "drawing of a"
cont "pretty girl."
done
CeladonMansion3FGameProgramText:
text "It's the game"
line "program. Messing"
para "with it could put"
line "a bug in the game!"
done
CeladonMansion3FReferenceMaterialText:
text "It's crammed with"
line "reference materi-"
cont "als. There's even"
cont "a # DOLL."
done
CeladonMansion3F_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
2018-02-02 03:22:07 +00:00
warp_event 0, 0, CELADON_MANSION_ROOF, 1
warp_event 1, 0, CELADON_MANSION_2F, 2
warp_event 6, 0, CELADON_MANSION_2F, 3
warp_event 7, 0, CELADON_MANSION_ROOF, 2
db 0 ; coord events
db 4 ; bg events
bg_event 5, 8, BGEVENT_UP, CeladonMansion3FDevRoomSign
bg_event 4, 3, BGEVENT_UP, CeladonMansion3FDrawing
bg_event 1, 6, BGEVENT_UP, CeladonMansion3FGameProgram
bg_event 1, 3, BGEVENT_UP, CeladonMansion3FReferenceMaterial
db 4 ; object events
2018-08-19 17:56:41 +00:00
object_event 3, 6, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GameFreakGameDesignerScript, -1
object_event 3, 4, SPRITE_GYM_GUY, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GameFreakGraphicArtistScript, -1
object_event 0, 7, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GameFreakProgrammerScript, -1
object_event 0, 4, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_UP, 2, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GameFreakCharacterDesignerScript, -1