2018-01-31 08:38:45 -08:00
|
|
|
const_def 2 ; object constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const CELADONMANSION3F_COOLTRAINER_M
|
|
|
|
const CELADONMANSION3F_GYM_GUY
|
|
|
|
const CELADONMANSION3F_SUPER_NERD
|
|
|
|
const CELADONMANSION3F_FISHER
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
CeladonMansion3F_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; scene scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; callbacks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-03-01 10:18:51 -08:00
|
|
|
CeladonMansion3FCooltrainerMScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x716ce
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_DEXCAUGHT
|
2018-02-28 14:47:31 -08:00
|
|
|
ifgreater NUM_POKEMON - 2 - 1, .CompletedPokedex ; ignore Mew and Celebi
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
.CompletedPokedex:
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x71725
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_DEX_FANFARE_230_PLUS
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x71760
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2018-01-24 08:17:05 -08:00
|
|
|
special Diploma
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x71763
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_ENABLE_DIPLOMA_PRINTING
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-03-01 10:18:51 -08:00
|
|
|
CeladonMansion3FGymGuyScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_ENABLE_DIPLOMA_PRINTING
|
2018-02-28 14:47:31 -08:00
|
|
|
iftrue .CanPrintDiploma
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x717b4
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
.CanPrintDiploma:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x717d8
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2018-02-28 14:47:31 -08:00
|
|
|
iffalse .Refused
|
2018-01-24 08:17:05 -08:00
|
|
|
special PrintDiploma
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
.Refused:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x71830
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-03-01 10:18:51 -08:00
|
|
|
.CancelPrinting:
|
|
|
|
; unused
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x71863
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
CeladonMansion3FSuperNerdScript:
|
|
|
|
jumptextfaceplayer CeladonMansion3FSuperNerdText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
CeladonMansion3FFisherScript:
|
|
|
|
jumptextfaceplayer CeladonMansion3FFisherText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-27 16:33:38 -08:00
|
|
|
CeladonMansion3FDevRoomSign:
|
|
|
|
jumptext CeladonMansion3FDevRoomSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-27 16:33:38 -08:00
|
|
|
CeladonMansion3FDrawing:
|
|
|
|
jumptext CeladonMansion3FDrawingText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-27 16:33:38 -08:00
|
|
|
CeladonMansion3FGameProgram:
|
|
|
|
jumptext CeladonMansion3FGameProgramText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-27 16:33:38 -08:00
|
|
|
CeladonMansion3FReferenceMaterial:
|
|
|
|
jumptext CeladonMansion3FReferenceMaterialText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x716ce:
|
2014-03-05 21:29:44 -08:00
|
|
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x71725:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Wow! Excellent!"
|
|
|
|
line "You completed your"
|
|
|
|
cont "#DEX!"
|
|
|
|
|
|
|
|
para "Congratulations!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x71760:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x71763:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The GRAPHIC ARTIST"
|
|
|
|
line "will print out a"
|
|
|
|
cont "DIPLOMA for you."
|
|
|
|
|
|
|
|
para "You should go show"
|
|
|
|
line "it off."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x717b4:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm the GRAPHIC"
|
|
|
|
line "ARTIST."
|
|
|
|
|
|
|
|
para "I drew you!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x717d8:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm the GRAPHIC"
|
|
|
|
line "ARTIST."
|
|
|
|
|
|
|
|
para "Oh, you completed"
|
|
|
|
line "your #DEX?"
|
|
|
|
|
|
|
|
para "Want me to print"
|
|
|
|
line "out your DIPLOMA?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x71830:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Give me a shout if"
|
|
|
|
line "you want your"
|
|
|
|
cont "DIPLOMA printed."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x71863:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Something's wrong."
|
|
|
|
line "I'll have to can-"
|
|
|
|
cont "cel printing."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
CeladonMansion3FSuperNerdText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Who, me? I'm the"
|
|
|
|
line "PROGRAMMER."
|
|
|
|
|
|
|
|
para "Play the slot"
|
|
|
|
line "machines!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
CeladonMansion3FFisherText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Aren't the TWINS"
|
|
|
|
line "adorable?"
|
|
|
|
|
|
|
|
para "JASMINE's pretty"
|
|
|
|
line "too."
|
|
|
|
|
|
|
|
para "Oh, I love them!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-27 16:33:38 -08:00
|
|
|
CeladonMansion3FDevRoomSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "GAME FREAK"
|
|
|
|
line "DEVELOPMENT ROOM"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-27 16:33:38 -08:00
|
|
|
CeladonMansion3FDrawingText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It's a detailed"
|
|
|
|
line "drawing of a"
|
|
|
|
cont "pretty girl."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-27 16:33:38 -08:00
|
|
|
CeladonMansion3FGameProgramText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It's the game"
|
|
|
|
line "program. Messing"
|
|
|
|
|
|
|
|
para "with it could put"
|
|
|
|
line "a bug in the game!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-27 16:33:38 -08:00
|
|
|
CeladonMansion3FReferenceMaterialText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It's crammed with"
|
|
|
|
line "reference materi-"
|
|
|
|
cont "als. There's even"
|
|
|
|
cont "a # DOLL."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
CeladonMansion3F_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 4 ; warp events
|
2018-02-01 19:22:07 -08: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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; coord events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 4 ; bg events
|
2018-02-27 16:33:38 -08:00
|
|
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 4 ; object events
|
2018-03-01 10:18:51 -08:00
|
|
|
object_event 3, 6, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonMansion3FCooltrainerMScript, -1
|
|
|
|
object_event 3, 4, SPRITE_GYM_GUY, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonMansion3FGymGuyScript, -1
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 0, 7, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonMansion3FSuperNerdScript, -1
|
|
|
|
object_event 0, 4, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_UP, 2, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonMansion3FFisherScript, -1
|