mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-06 16:15:24 +13:00
Fossil scientist is now functional tm
There's a couple bugs here and there, but it's good enough and I think the bugs are related to how I tested it. Doesn't use specials because it seems to just cause comical glitches to occur. The Museum and Ruins of Alph fossil guys will talk differently, implying they're different individuals. The Museum one talks like in HGSS, the RoA one talks like the RBY one and comments on the Unown researcher's lack of care for fossils. Also reused some PokeCom centre lore.
This commit is contained in:
parent
7794dbe437
commit
d8d111abf5
12 changed files with 965 additions and 53 deletions
|
|
@ -8,23 +8,23 @@ DebugRoom_MapScripts:
|
|||
|
||||
DebugPokemon1Script:
|
||||
opentext
|
||||
getmonname STRING_BUFFER_3, DECILLA
|
||||
getmonname STRING_BUFFER_3, LUXWAN
|
||||
writetext ReceivedDebugPokemonText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
promptbutton
|
||||
givepoke DECILLA, 39, POISON_STONE
|
||||
givepoke LUXWAN, 24, POISON_STONE
|
||||
closetext
|
||||
end
|
||||
|
||||
DebugPokemon2Script:
|
||||
opentext
|
||||
getmonname STRING_BUFFER_3, FERADACTYL
|
||||
getmonname STRING_BUFFER_3, MACHAMP
|
||||
writetext ReceivedDebugPokemonText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
promptbutton
|
||||
givepoke FERADACTYL, 39, TM_ROCK_SMASH
|
||||
givepoke MACHAMP, 31, TM_ROCK_SMASH
|
||||
closetext
|
||||
end
|
||||
|
||||
|
|
@ -176,6 +176,11 @@ DebugItemScript:
|
|||
giveitem RARE_CANDY, 99
|
||||
giveitem BICYCLE, 1
|
||||
giveitem SUPER_ROD, 1
|
||||
giveitem CLUB_FOSSIL, 2
|
||||
giveitem WING_FOSSIL, 2
|
||||
giveitem DOME_FOSSIL, 2
|
||||
giveitem HELIX_FOSSIL, 2
|
||||
giveitem OLD_AMBER, 2
|
||||
closetext
|
||||
end
|
||||
|
||||
|
|
@ -184,6 +189,294 @@ DebugTextE:
|
|||
line "many items!"
|
||||
done
|
||||
|
||||
DebugFossilScientist:
|
||||
faceplayer
|
||||
opentext
|
||||
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove the next two lines to immediately receive the fossil
|
||||
iftrue .GaveScientistFossil
|
||||
checkevent EVENT_GAVE_SCIENTIST_OLD_AMBER
|
||||
iftrue .GiveDecilla
|
||||
checkevent EVENT_GAVE_SCIENTIST_DOME_FOSSIL
|
||||
iftrue .GiveKabuto
|
||||
checkevent EVENT_GAVE_SCIENTIST_HELIX_FOSSIL
|
||||
iftrue .GiveOmanyte
|
||||
checkevent EVENT_GAVE_SCIENTIST_CLUB_FOSSIL
|
||||
iftrue .GiveXylodon
|
||||
checkevent EVENT_GAVE_SCIENTIST_WING_FOSSIL
|
||||
iftrue .GiveFeradactyl
|
||||
writetext FossilScientistIntroText
|
||||
waitbutton
|
||||
loadmenu .MoveMenuHeader
|
||||
verticalmenu
|
||||
closewindow
|
||||
ifequal REVIVE_OLD_AMBER, .OldAmber
|
||||
ifequal REVIVE_DOME_FOSSIL, .DomeFossil
|
||||
ifequal REVIVE_HELIX_FOSSIL, .HelixFossil
|
||||
ifequal REVIVE_CLUB_FOSSIL, .ClubFossil
|
||||
ifequal REVIVE_WING_FOSSIL, .WingFossil
|
||||
sjump .No
|
||||
|
||||
.OldAmber
|
||||
checkitem OLD_AMBER
|
||||
iffalse .No
|
||||
getmonname STRING_BUFFER_3, DECILLA
|
||||
writetext FossilScientistMonText
|
||||
promptbutton
|
||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove this to immediately receive the fossil
|
||||
setevent EVENT_GAVE_SCIENTIST_OLD_AMBER
|
||||
takeitem OLD_AMBER
|
||||
writetext FossilScientistGiveText
|
||||
waitbutton
|
||||
sjump .GaveScientistFossil
|
||||
|
||||
.DomeFossil:
|
||||
checkitem DOME_FOSSIL
|
||||
iffalse .No
|
||||
getmonname STRING_BUFFER_3, KABUTO
|
||||
writetext FossilScientistMonText
|
||||
promptbutton
|
||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove this to immediately receive the fossil
|
||||
setevent EVENT_GAVE_SCIENTIST_DOME_FOSSIL
|
||||
takeitem DOME_FOSSIL
|
||||
opentext
|
||||
writetext FossilScientistGiveText
|
||||
waitbutton
|
||||
sjump .GaveScientistFossil
|
||||
|
||||
.HelixFossil:
|
||||
checkitem HELIX_FOSSIL
|
||||
iffalse .No
|
||||
getmonname STRING_BUFFER_3, OMANYTE
|
||||
writetext FossilScientistMonText
|
||||
promptbutton
|
||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove this to immediately receive the fossil
|
||||
setevent EVENT_GAVE_SCIENTIST_HELIX_FOSSIL
|
||||
takeitem HELIX_FOSSIL
|
||||
writetext FossilScientistGiveText
|
||||
waitbutton
|
||||
sjump .GaveScientistFossil
|
||||
|
||||
.ClubFossil:
|
||||
checkitem HELIX_FOSSIL
|
||||
iffalse .No
|
||||
getmonname STRING_BUFFER_3, XYLODON
|
||||
writetext FossilScientistMonText
|
||||
promptbutton
|
||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove this to immediately receive the fossil
|
||||
setevent EVENT_GAVE_SCIENTIST_CLUB_FOSSIL
|
||||
takeitem HELIX_FOSSIL
|
||||
writetext FossilScientistGiveText
|
||||
waitbutton
|
||||
sjump .GaveScientistFossil
|
||||
|
||||
.WingFossil:
|
||||
checkitem HELIX_FOSSIL
|
||||
iffalse .No
|
||||
getmonname STRING_BUFFER_3, FERADACTYL
|
||||
writetext FossilScientistMonText
|
||||
promptbutton
|
||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove this to immediately receive the fossil
|
||||
setevent EVENT_GAVE_SCIENTIST_WING_FOSSIL
|
||||
takeitem HELIX_FOSSIL
|
||||
writetext FossilScientistGiveText
|
||||
waitbutton
|
||||
sjump .GaveScientistFossil
|
||||
|
||||
.No
|
||||
writetext FossilScientistNoText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
.GaveScientistFossil:
|
||||
writetext FossilScientistTimeText
|
||||
waitbutton
|
||||
closetext
|
||||
; older versions will use FadeBlackQuickly below instead
|
||||
; special FadeOutToBlack ; uncomment the next five lines to immediately receive the fossil
|
||||
; special ReloadSpritesNoPalettes
|
||||
; playsound SFX_WARP_TO
|
||||
; waitsfx
|
||||
; pause 35
|
||||
end ; replace this with "sjump FossilScientist" to immediately receive the fossil
|
||||
|
||||
.GiveDecilla:
|
||||
readvar VAR_PARTYCOUNT
|
||||
ifequal PARTY_LENGTH, .NoRoom
|
||||
clearevent EVENT_GAVE_SCIENTIST_OLD_AMBER
|
||||
writetext FossilScientistDoneText
|
||||
promptbutton
|
||||
getmonname STRING_BUFFER_3, DECILLA
|
||||
writetext FossilScientistReceiveText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
waitbutton
|
||||
writetext FossilScientistMonText
|
||||
givepoke DECILLA, 30
|
||||
closetext
|
||||
end
|
||||
|
||||
.GiveKabuto:
|
||||
readvar VAR_PARTYCOUNT
|
||||
ifequal PARTY_LENGTH, .NoRoom
|
||||
clearevent EVENT_GAVE_SCIENTIST_DOME_FOSSIL
|
||||
writetext FossilScientistDoneText
|
||||
promptbutton
|
||||
getmonname STRING_BUFFER_3, KABUTO
|
||||
writetext FossilScientistReceiveText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
waitbutton
|
||||
writetext FossilScientistMonText
|
||||
givepoke KABUTO, 30
|
||||
closetext
|
||||
end
|
||||
|
||||
.GiveOmanyte:
|
||||
readvar VAR_PARTYCOUNT
|
||||
ifequal PARTY_LENGTH, .NoRoom
|
||||
clearevent EVENT_GAVE_SCIENTIST_HELIX_FOSSIL
|
||||
writetext FossilScientistDoneText
|
||||
promptbutton
|
||||
getmonname STRING_BUFFER_3, OMANYTE
|
||||
writetext FossilScientistReceiveText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
waitbutton
|
||||
writetext FossilScientistMonText
|
||||
givepoke OMANYTE, 30
|
||||
closetext
|
||||
end
|
||||
|
||||
.GiveXylodon:
|
||||
readvar VAR_PARTYCOUNT
|
||||
ifequal PARTY_LENGTH, .NoRoom
|
||||
clearevent EVENT_GAVE_SCIENTIST_CLUB_FOSSIL
|
||||
writetext FossilScientistDoneText
|
||||
promptbutton
|
||||
getmonname STRING_BUFFER_3, XYLODON
|
||||
writetext FossilScientistReceiveText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
waitbutton
|
||||
writetext FossilScientistMonText
|
||||
givepoke XYLODON, 30
|
||||
closetext
|
||||
end
|
||||
|
||||
.GiveFeradactyl:
|
||||
readvar VAR_PARTYCOUNT
|
||||
ifequal PARTY_LENGTH, .NoRoom
|
||||
clearevent EVENT_GAVE_SCIENTIST_WING_FOSSIL
|
||||
writetext FossilScientistDoneText
|
||||
promptbutton
|
||||
getmonname STRING_BUFFER_3, FERADACTYL
|
||||
writetext FossilScientistReceiveText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
waitbutton
|
||||
writetext FossilScientistMonText
|
||||
givepoke FERADACTYL, 30
|
||||
closetext
|
||||
end
|
||||
|
||||
.NoRoom:
|
||||
writetext FossilScientistPartyFullText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
.MoveMenuHeader:
|
||||
db MENU_BACKUP_TILES ; flags
|
||||
menu_coords 0, 0, 15, TEXTBOX_Y + 1
|
||||
dw .MenuData
|
||||
db 1 ; default option
|
||||
|
||||
.MenuData:
|
||||
db STATICMENU_CURSOR ; flags
|
||||
db 6 ; items
|
||||
db "OLD AMBER@"
|
||||
db "DOME FOSSIL@"
|
||||
db "HELIX FOSSIL@"
|
||||
db "CLUB FOSSIL@"
|
||||
db "WING FOSSIL@"
|
||||
db "CANCEL@"
|
||||
|
||||
FossilScientistIntroText:
|
||||
text "Hiya!"
|
||||
|
||||
para "I am important"
|
||||
line "doctor!"
|
||||
|
||||
para "I study here rare"
|
||||
line "#MON fossils!"
|
||||
|
||||
para "You! Have you a"
|
||||
line "fossil for me?"
|
||||
done
|
||||
|
||||
FossilScientistNoText:
|
||||
text "No! Is too bad!"
|
||||
|
||||
para "You come again!"
|
||||
done
|
||||
|
||||
FossilScientistPartyFullText:
|
||||
text "No! Is too bad!"
|
||||
|
||||
para "Your party is"
|
||||
line "already full!"
|
||||
done
|
||||
|
||||
FossilScientistTimeText:
|
||||
text "I take a little"
|
||||
line "time!"
|
||||
|
||||
para "You go for walk a"
|
||||
line "little while!"
|
||||
done
|
||||
|
||||
FossilScientistDoneText:
|
||||
text "Where were you?"
|
||||
|
||||
para "Your fossil is"
|
||||
line "back to life!"
|
||||
done
|
||||
|
||||
FossilScientistMonText:
|
||||
text "Oh! That is"
|
||||
line "a fossil!"
|
||||
|
||||
para "It is fossil of"
|
||||
line "@"
|
||||
text_ram wStringBuffer3
|
||||
text ", a"
|
||||
|
||||
|
||||
para "#MON that is"
|
||||
line "already extinct!"
|
||||
|
||||
para "My Resurrection"
|
||||
line "Machine will make"
|
||||
cont "that #MON live"
|
||||
cont "again!"
|
||||
done
|
||||
|
||||
FossilScientistGiveText:
|
||||
text "So! You hurry and"
|
||||
line "give me that!"
|
||||
|
||||
para "<PLAYER> handed"
|
||||
line "over the fossil."
|
||||
done
|
||||
|
||||
FossilScientistReceiveText:
|
||||
text "<PLAYER> received"
|
||||
line "@"
|
||||
text_ram wStringBuffer3
|
||||
text "!"
|
||||
done
|
||||
|
||||
DebugRoom_MapEvents:
|
||||
db 0, 0 ; filler
|
||||
|
||||
|
|
@ -200,7 +493,7 @@ DebugRoom_MapEvents:
|
|||
warp_event 19, 34, BLUE_FOREST, 1 ; southern warp
|
||||
warp_event 33, 33, BLUE_FOREST, 1 ; southeast warp
|
||||
warp_event 5, 3, AZALEA_TOWN, 1
|
||||
warp_event 34, 11, ROUTE_48, 1
|
||||
warp_event 34, 11, RUINS_OF_ALPH_RESEARCH_CENTER, 1
|
||||
|
||||
def_coord_events
|
||||
|
||||
|
|
@ -214,4 +507,4 @@ DebugRoom_MapEvents:
|
|||
object_event 17, 13, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_PURPLE, OBJECTTYPE_SCRIPT, 0, DebugFlyScript, -1
|
||||
object_event 16, 13, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_PURPLE, OBJECTTYPE_SCRIPT, 0, DebugDexScript, -1
|
||||
object_event 19, 13, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_PURPLE, OBJECTTYPE_SCRIPT, 0, DebugItemScript, -1
|
||||
|
||||
object_event 18, 13, SPRITE_NURSE, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, DebugFossilScientist, -1
|
||||
|
|
|
|||
|
|
@ -5,7 +5,290 @@ PewterMuseumOfScience1F_MapScripts:
|
|||
def_scene_scripts
|
||||
|
||||
def_callbacks
|
||||
|
||||
|
||||
; This scientist will use the HGSS Fossil Scientist's script, albeit slightly altered.
|
||||
MuseumFossilScientist:
|
||||
faceplayer
|
||||
opentext
|
||||
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove the next two lines to immediately receive the fossil
|
||||
iftrue .GaveScientistFossil
|
||||
checkevent EVENT_GAVE_SCIENTIST_OLD_AMBER
|
||||
iftrue .GiveDecilla
|
||||
checkevent EVENT_GAVE_SCIENTIST_DOME_FOSSIL
|
||||
iftrue .GiveKabuto
|
||||
checkevent EVENT_GAVE_SCIENTIST_HELIX_FOSSIL
|
||||
iftrue .GiveOmanyte
|
||||
checkevent EVENT_GAVE_SCIENTIST_CLUB_FOSSIL
|
||||
iftrue .GiveXylodon
|
||||
checkevent EVENT_GAVE_SCIENTIST_WING_FOSSIL
|
||||
iftrue .GiveFeradactyl
|
||||
writetext MuseumFossilScientistIntroText
|
||||
waitbutton
|
||||
loadmenu .MoveMenuHeader
|
||||
verticalmenu
|
||||
closewindow
|
||||
ifequal REVIVE_OLD_AMBER, .OldAmber
|
||||
ifequal REVIVE_DOME_FOSSIL, .DomeFossil
|
||||
ifequal REVIVE_HELIX_FOSSIL, .HelixFossil
|
||||
ifequal REVIVE_CLUB_FOSSIL, .ClubFossil
|
||||
ifequal REVIVE_WING_FOSSIL, .WingFossil
|
||||
sjump .No
|
||||
|
||||
.OldAmber
|
||||
checkitem OLD_AMBER
|
||||
iffalse .No
|
||||
getmonname STRING_BUFFER_3, DECILLA
|
||||
writetext MuseumFossilScientistMonText
|
||||
promptbutton
|
||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove this to immediately receive the fossil
|
||||
setevent EVENT_GAVE_SCIENTIST_OLD_AMBER
|
||||
takeitem OLD_AMBER
|
||||
writetext MuseumFossilScientistGiveText
|
||||
waitbutton
|
||||
sjump .GaveScientistFossil
|
||||
|
||||
.DomeFossil:
|
||||
checkitem DOME_FOSSIL
|
||||
iffalse .No
|
||||
getmonname STRING_BUFFER_3, KABUTO
|
||||
writetext MuseumFossilScientistMonText
|
||||
promptbutton
|
||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove this to immediately receive the fossil
|
||||
setevent EVENT_GAVE_SCIENTIST_DOME_FOSSIL
|
||||
takeitem DOME_FOSSIL
|
||||
opentext
|
||||
writetext MuseumFossilScientistGiveText
|
||||
waitbutton
|
||||
sjump .GaveScientistFossil
|
||||
|
||||
.HelixFossil:
|
||||
checkitem HELIX_FOSSIL
|
||||
iffalse .No
|
||||
getmonname STRING_BUFFER_3, OMANYTE
|
||||
writetext MuseumFossilScientistMonText
|
||||
promptbutton
|
||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove this to immediately receive the fossil
|
||||
setevent EVENT_GAVE_SCIENTIST_HELIX_FOSSIL
|
||||
takeitem HELIX_FOSSIL
|
||||
writetext MuseumFossilScientistGiveText
|
||||
waitbutton
|
||||
sjump .GaveScientistFossil
|
||||
|
||||
.ClubFossil:
|
||||
checkitem HELIX_FOSSIL
|
||||
iffalse .No
|
||||
getmonname STRING_BUFFER_3, XYLODON
|
||||
writetext MuseumFossilScientistMonText
|
||||
promptbutton
|
||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove this to immediately receive the fossil
|
||||
setevent EVENT_GAVE_SCIENTIST_CLUB_FOSSIL
|
||||
takeitem HELIX_FOSSIL
|
||||
writetext MuseumFossilScientistGiveText
|
||||
waitbutton
|
||||
sjump .GaveScientistFossil
|
||||
|
||||
.WingFossil:
|
||||
checkitem HELIX_FOSSIL
|
||||
iffalse .No
|
||||
getmonname STRING_BUFFER_3, FERADACTYL
|
||||
writetext MuseumFossilScientistMonText
|
||||
promptbutton
|
||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove this to immediately receive the fossil
|
||||
setevent EVENT_GAVE_SCIENTIST_WING_FOSSIL
|
||||
takeitem HELIX_FOSSIL
|
||||
writetext MuseumFossilScientistGiveText
|
||||
waitbutton
|
||||
sjump .GaveScientistFossil
|
||||
|
||||
.No
|
||||
writetext MuseumFossilScientistNoText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
.GaveScientistFossil:
|
||||
writetext MuseumFossilScientistTimeText
|
||||
waitbutton
|
||||
closetext
|
||||
; older versions will use FadeBlackQuickly below instead
|
||||
; special FadeOutToBlack ; uncomment the next five lines to immediately receive the fossil
|
||||
; special ReloadSpritesNoPalettes
|
||||
; playsound SFX_WARP_TO
|
||||
; waitsfx
|
||||
; pause 35
|
||||
end ; replace this with "sjump FossilScientist" to immediately receive the fossil
|
||||
|
||||
.GiveDecilla:
|
||||
readvar VAR_PARTYCOUNT
|
||||
ifequal PARTY_LENGTH, .NoRoom
|
||||
clearevent EVENT_GAVE_SCIENTIST_OLD_AMBER
|
||||
writetext MuseumFossilScientistDoneText
|
||||
promptbutton
|
||||
getmonname STRING_BUFFER_3, DECILLA
|
||||
writetext MuseumFossilScientistReceiveText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
waitbutton
|
||||
writetext MuseumFossilScientistMonText
|
||||
givepoke DECILLA, 30
|
||||
closetext
|
||||
end
|
||||
|
||||
.GiveKabuto:
|
||||
readvar VAR_PARTYCOUNT
|
||||
ifequal PARTY_LENGTH, .NoRoom
|
||||
clearevent EVENT_GAVE_SCIENTIST_DOME_FOSSIL
|
||||
writetext MuseumFossilScientistDoneText
|
||||
promptbutton
|
||||
getmonname STRING_BUFFER_3, KABUTO
|
||||
writetext MuseumFossilScientistReceiveText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
waitbutton
|
||||
writetext MuseumFossilScientistMonText
|
||||
givepoke KABUTO, 30
|
||||
closetext
|
||||
end
|
||||
|
||||
.GiveOmanyte:
|
||||
readvar VAR_PARTYCOUNT
|
||||
ifequal PARTY_LENGTH, .NoRoom
|
||||
clearevent EVENT_GAVE_SCIENTIST_HELIX_FOSSIL
|
||||
writetext MuseumFossilScientistDoneText
|
||||
promptbutton
|
||||
getmonname STRING_BUFFER_3, OMANYTE
|
||||
writetext MuseumFossilScientistReceiveText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
waitbutton
|
||||
writetext MuseumFossilScientistMonText
|
||||
givepoke OMANYTE, 30
|
||||
closetext
|
||||
end
|
||||
|
||||
.GiveXylodon:
|
||||
readvar VAR_PARTYCOUNT
|
||||
ifequal PARTY_LENGTH, .NoRoom
|
||||
clearevent EVENT_GAVE_SCIENTIST_CLUB_FOSSIL
|
||||
writetext MuseumFossilScientistDoneText
|
||||
promptbutton
|
||||
getmonname STRING_BUFFER_3, XYLODON
|
||||
writetext MuseumFossilScientistReceiveText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
waitbutton
|
||||
writetext MuseumFossilScientistMonText
|
||||
givepoke XYLODON, 30
|
||||
closetext
|
||||
end
|
||||
|
||||
.GiveFeradactyl:
|
||||
readvar VAR_PARTYCOUNT
|
||||
ifequal PARTY_LENGTH, .NoRoom
|
||||
clearevent EVENT_GAVE_SCIENTIST_WING_FOSSIL
|
||||
writetext MuseumFossilScientistDoneText
|
||||
promptbutton
|
||||
getmonname STRING_BUFFER_3, FERADACTYL
|
||||
writetext MuseumFossilScientistReceiveText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
waitbutton
|
||||
writetext MuseumFossilScientistMonText
|
||||
givepoke FERADACTYL, 30
|
||||
closetext
|
||||
end
|
||||
|
||||
.NoRoom:
|
||||
writetext MuseumFossilScientistPartyFullText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
.MoveMenuHeader:
|
||||
db MENU_BACKUP_TILES ; flags
|
||||
menu_coords 0, 0, 15, TEXTBOX_Y + 1
|
||||
dw .MenuData
|
||||
db 1 ; default option
|
||||
|
||||
.MenuData:
|
||||
db STATICMENU_CURSOR ; flags
|
||||
db 6 ; items
|
||||
db "OLD AMBER@"
|
||||
db "DOME FOSSIL@"
|
||||
db "HELIX FOSSIL@"
|
||||
db "CLUB FOSSIL@"
|
||||
db "WING FOSSIL@"
|
||||
db "CANCEL@"
|
||||
|
||||
MuseumFossilScientistIntroText:
|
||||
text "Did you know you"
|
||||
line "can revive #MON"
|
||||
cont "from fossils?"
|
||||
|
||||
para "If you need to,"
|
||||
line "let me take care"
|
||||
cont "of it for you!"
|
||||
done
|
||||
|
||||
MuseumFossilScientistNoText:
|
||||
text "Ah, alright."
|
||||
|
||||
para "Come again though,"
|
||||
line "you hear?"
|
||||
done
|
||||
|
||||
MuseumFossilScientistPartyFullText:
|
||||
text "Oops!"
|
||||
|
||||
para "Your party is"
|
||||
line "full!"
|
||||
done
|
||||
|
||||
MuseumFossilScientistTimeText:
|
||||
text "It'll take a bit"
|
||||
line "to revive the"
|
||||
cont "fossil."
|
||||
|
||||
para "PEWTER CITY is"
|
||||
line "great. Why not"
|
||||
cont "go on a little"
|
||||
cont "walkabout?"
|
||||
done
|
||||
|
||||
MuseumFossilScientistDoneText:
|
||||
text "There you are!"
|
||||
|
||||
para "Here's your"
|
||||
line "#MON!"
|
||||
done
|
||||
|
||||
MuseumFossilScientistMonText:
|
||||
text "Ah, yes!"
|
||||
|
||||
para "That's a fossil"
|
||||
line "@"
|
||||
text_ram wStringBuffer3
|
||||
text "!"
|
||||
|
||||
para "Want me to revive"
|
||||
line "it?"
|
||||
done
|
||||
|
||||
MuseumFossilScientistGiveText:
|
||||
text "Alright! Careful,"
|
||||
line "now..."
|
||||
|
||||
para "<PLAYER> handed"
|
||||
line "over the fossil."
|
||||
done
|
||||
|
||||
MuseumFossilScientistReceiveText:
|
||||
text "<PLAYER> received"
|
||||
line "@"
|
||||
text_ram wStringBuffer3
|
||||
text "!"
|
||||
done
|
||||
|
||||
PewterMuseumOfScience1F_MapEvents:
|
||||
db 0, 0 ; filler
|
||||
|
||||
|
|
@ -20,4 +303,5 @@ PewterMuseumOfScience1F_MapEvents:
|
|||
|
||||
def_bg_events
|
||||
|
||||
def_object_events
|
||||
def_object_events
|
||||
object_event 2, 9, SPRITE_SCIENTIST, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, MuseumFossilScientist, -1
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
;()
|
||||
;(()
|
||||
|
|
@ -167,6 +167,8 @@ RuinsOfAlphResearchCenterPrinter:
|
|||
closetext
|
||||
end
|
||||
|
||||
; There isn't even a tileset piece for this, it was removed very early.
|
||||
; Could reuse somewhere.
|
||||
RuinsOfAlphResearchCenterPhoto: ; unreferenced
|
||||
jumptext RuinsOfAlphResearchCenterProfSilktreePhotoText
|
||||
|
||||
|
|
@ -306,19 +308,22 @@ RuinsOfAlphResearchCenterScientist2Text_UnownAppeared:
|
|||
cont "kinds of them…"
|
||||
done
|
||||
|
||||
RuinsOfAlphResearchCenterUnusedText1: ; unreferenced
|
||||
RuinsOfAlphResearchCenterPokeCom:
|
||||
faceplayer
|
||||
opentext
|
||||
writetext RuinsOfAlphResearchCenterPokeComText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
RuinsOfAlphResearchCenterPokeComText: ; previously unreferenced, now reused
|
||||
text "We think something"
|
||||
line "caused the cryptic"
|
||||
|
||||
para "patterns to appear"
|
||||
line "in the RUINS."
|
||||
|
||||
para "We've focused our"
|
||||
line "studies on that."
|
||||
done
|
||||
|
||||
RuinsOfAlphResearchCenterUnusedText2: ; unreferenced
|
||||
text "According to my"
|
||||
|
||||
para "According to my"
|
||||
line "research…"
|
||||
|
||||
para "Those mysterious"
|
||||
|
|
@ -387,21 +392,324 @@ RuinsOfAlphResearchCenterAcademicBooksText:
|
|||
cont "Ancients…"
|
||||
done
|
||||
|
||||
; This scientist uses the funny Kantonian Fossil Scientist's script.
|
||||
RoAFossilScientist:
|
||||
faceplayer
|
||||
opentext
|
||||
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove the next two lines to immediately receive the fossil
|
||||
iftrue .GaveScientistFossil
|
||||
checkevent EVENT_GAVE_SCIENTIST_OLD_AMBER
|
||||
iftrue .GiveDecilla
|
||||
checkevent EVENT_GAVE_SCIENTIST_DOME_FOSSIL
|
||||
iftrue .GiveKabuto
|
||||
checkevent EVENT_GAVE_SCIENTIST_HELIX_FOSSIL
|
||||
iftrue .GiveOmanyte
|
||||
checkevent EVENT_GAVE_SCIENTIST_CLUB_FOSSIL
|
||||
iftrue .GiveXylodon
|
||||
checkevent EVENT_GAVE_SCIENTIST_WING_FOSSIL
|
||||
iftrue .GiveFeradactyl
|
||||
writetext RoAFossilScientistIntroText
|
||||
waitbutton
|
||||
loadmenu .MoveMenuHeader
|
||||
verticalmenu
|
||||
closewindow
|
||||
ifequal REVIVE_OLD_AMBER, .OldAmber
|
||||
ifequal REVIVE_DOME_FOSSIL, .DomeFossil
|
||||
ifequal REVIVE_HELIX_FOSSIL, .HelixFossil
|
||||
ifequal REVIVE_CLUB_FOSSIL, .ClubFossil
|
||||
ifequal REVIVE_WING_FOSSIL, .WingFossil
|
||||
sjump .No
|
||||
|
||||
.OldAmber
|
||||
checkitem OLD_AMBER
|
||||
iffalse .No
|
||||
getmonname STRING_BUFFER_3, DECILLA
|
||||
writetext RoAFossilScientistMonText
|
||||
promptbutton
|
||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove this to immediately receive the fossil
|
||||
setevent EVENT_GAVE_SCIENTIST_OLD_AMBER
|
||||
takeitem OLD_AMBER
|
||||
writetext RoAFossilScientistGiveText
|
||||
waitbutton
|
||||
sjump .GaveScientistFossil
|
||||
|
||||
.DomeFossil:
|
||||
checkitem DOME_FOSSIL
|
||||
iffalse .No
|
||||
getmonname STRING_BUFFER_3, KABUTO
|
||||
writetext RoAFossilScientistMonText
|
||||
promptbutton
|
||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove this to immediately receive the fossil
|
||||
setevent EVENT_GAVE_SCIENTIST_DOME_FOSSIL
|
||||
takeitem DOME_FOSSIL
|
||||
opentext
|
||||
writetext RoAFossilScientistGiveText
|
||||
waitbutton
|
||||
sjump .GaveScientistFossil
|
||||
|
||||
.HelixFossil:
|
||||
checkitem HELIX_FOSSIL
|
||||
iffalse .No
|
||||
getmonname STRING_BUFFER_3, OMANYTE
|
||||
writetext RoAFossilScientistMonText
|
||||
promptbutton
|
||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove this to immediately receive the fossil
|
||||
setevent EVENT_GAVE_SCIENTIST_HELIX_FOSSIL
|
||||
takeitem HELIX_FOSSIL
|
||||
writetext RoAFossilScientistGiveText
|
||||
waitbutton
|
||||
sjump .GaveScientistFossil
|
||||
|
||||
.ClubFossil:
|
||||
checkitem HELIX_FOSSIL
|
||||
iffalse .No
|
||||
getmonname STRING_BUFFER_3, XYLODON
|
||||
writetext RoAFossilScientistMonText
|
||||
promptbutton
|
||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove this to immediately receive the fossil
|
||||
setevent EVENT_GAVE_SCIENTIST_CLUB_FOSSIL
|
||||
takeitem HELIX_FOSSIL
|
||||
writetext RoAFossilScientistGiveText
|
||||
waitbutton
|
||||
sjump .GaveScientistFossil
|
||||
|
||||
.WingFossil:
|
||||
checkitem HELIX_FOSSIL
|
||||
iffalse .No
|
||||
getmonname STRING_BUFFER_3, FERADACTYL
|
||||
writetext RoAFossilScientistMonText
|
||||
promptbutton
|
||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; remove this to immediately receive the fossil
|
||||
setevent EVENT_GAVE_SCIENTIST_WING_FOSSIL
|
||||
takeitem HELIX_FOSSIL
|
||||
writetext RoAFossilScientistGiveText
|
||||
waitbutton
|
||||
sjump .GaveScientistFossil
|
||||
|
||||
.No
|
||||
writetext RoAFossilScientistNoText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
.GaveScientistFossil:
|
||||
writetext RoAFossilScientistTimeText
|
||||
waitbutton
|
||||
closetext
|
||||
; older versions will use FadeBlackQuickly below instead
|
||||
; special FadeOutToBlack ; uncomment the next five lines to immediately receive the fossil
|
||||
; special ReloadSpritesNoPalettes
|
||||
; playsound SFX_WARP_TO
|
||||
; waitsfx
|
||||
; pause 35
|
||||
end ; replace this with "sjump FossilScientist" to immediately receive the fossil
|
||||
|
||||
.GiveDecilla:
|
||||
readvar VAR_PARTYCOUNT
|
||||
ifequal PARTY_LENGTH, .NoRoom
|
||||
clearevent EVENT_GAVE_SCIENTIST_OLD_AMBER
|
||||
writetext RoAFossilScientistDoneText
|
||||
promptbutton
|
||||
getmonname STRING_BUFFER_3, DECILLA
|
||||
writetext RoAFossilScientistReceiveText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
waitbutton
|
||||
writetext RoAFossilScientistMonText
|
||||
givepoke DECILLA, 30
|
||||
closetext
|
||||
end
|
||||
|
||||
.GiveKabuto:
|
||||
readvar VAR_PARTYCOUNT
|
||||
ifequal PARTY_LENGTH, .NoRoom
|
||||
clearevent EVENT_GAVE_SCIENTIST_DOME_FOSSIL
|
||||
writetext RoAFossilScientistDoneText
|
||||
promptbutton
|
||||
getmonname STRING_BUFFER_3, KABUTO
|
||||
writetext RoAFossilScientistReceiveText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
waitbutton
|
||||
writetext RoAFossilScientistMonText
|
||||
givepoke KABUTO, 30
|
||||
closetext
|
||||
end
|
||||
|
||||
.GiveOmanyte:
|
||||
readvar VAR_PARTYCOUNT
|
||||
ifequal PARTY_LENGTH, .NoRoom
|
||||
clearevent EVENT_GAVE_SCIENTIST_HELIX_FOSSIL
|
||||
writetext RoAFossilScientistDoneText
|
||||
promptbutton
|
||||
getmonname STRING_BUFFER_3, OMANYTE
|
||||
writetext RoAFossilScientistReceiveText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
waitbutton
|
||||
writetext RoAFossilScientistMonText
|
||||
givepoke OMANYTE, 30
|
||||
closetext
|
||||
end
|
||||
|
||||
.GiveXylodon:
|
||||
readvar VAR_PARTYCOUNT
|
||||
ifequal PARTY_LENGTH, .NoRoom
|
||||
clearevent EVENT_GAVE_SCIENTIST_CLUB_FOSSIL
|
||||
writetext RoAFossilScientistDoneText
|
||||
promptbutton
|
||||
getmonname STRING_BUFFER_3, XYLODON
|
||||
writetext RoAFossilScientistReceiveText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
waitbutton
|
||||
writetext RoAFossilScientistMonText
|
||||
givepoke XYLODON, 30
|
||||
closetext
|
||||
end
|
||||
|
||||
.GiveFeradactyl:
|
||||
readvar VAR_PARTYCOUNT
|
||||
ifequal PARTY_LENGTH, .NoRoom
|
||||
clearevent EVENT_GAVE_SCIENTIST_WING_FOSSIL
|
||||
writetext RoAFossilScientistDoneText
|
||||
promptbutton
|
||||
getmonname STRING_BUFFER_3, FERADACTYL
|
||||
writetext RoAFossilScientistReceiveText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
waitbutton
|
||||
writetext RoAFossilScientistMonText
|
||||
givepoke FERADACTYL, 30
|
||||
closetext
|
||||
end
|
||||
|
||||
.NoRoom:
|
||||
writetext RoAFossilScientistPartyFullText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
.MoveMenuHeader:
|
||||
db MENU_BACKUP_TILES ; flags
|
||||
menu_coords 0, 0, 15, TEXTBOX_Y + 1
|
||||
dw .MenuData
|
||||
db 1 ; default option
|
||||
|
||||
.MenuData:
|
||||
db STATICMENU_CURSOR ; flags
|
||||
db 6 ; items
|
||||
db "OLD AMBER@"
|
||||
db "DOME FOSSIL@"
|
||||
db "HELIX FOSSIL@"
|
||||
db "CLUB FOSSIL@"
|
||||
db "WING FOSSIL@"
|
||||
db "CANCEL@"
|
||||
|
||||
RoAFossilScientistIntroText:
|
||||
text "Hiya!"
|
||||
|
||||
para "I am important"
|
||||
line "doctor!"
|
||||
|
||||
para "I study here rare"
|
||||
line "#MON fossils!"
|
||||
|
||||
para "You! Have you a"
|
||||
line "fossil for me?"
|
||||
done
|
||||
|
||||
RoAFossilScientistNoText:
|
||||
text "No! Is too bad!"
|
||||
|
||||
para "You come again!"
|
||||
done
|
||||
|
||||
RoAFossilScientistPartyFullText:
|
||||
text "No! Is too bad!"
|
||||
|
||||
para "Your party is"
|
||||
line "already full!"
|
||||
done
|
||||
|
||||
RoAFossilScientistTimeText:
|
||||
text "I take a little"
|
||||
line "time!"
|
||||
|
||||
para "You go for walk a"
|
||||
line "little while!"
|
||||
done
|
||||
|
||||
RoAFossilScientistDoneText:
|
||||
text "Where were you?"
|
||||
|
||||
para "Your fossil is"
|
||||
line "back to life!"
|
||||
done
|
||||
|
||||
RoAFossilScientistMonText:
|
||||
text "Oh! That is"
|
||||
line "a fossil!"
|
||||
|
||||
para "It is fossil of"
|
||||
line "@"
|
||||
text_ram wStringBuffer3
|
||||
text ", a"
|
||||
|
||||
|
||||
para "#MON that is"
|
||||
line "already extinct!"
|
||||
|
||||
para "My Resurrection"
|
||||
line "Machine will make"
|
||||
cont "that #MON live"
|
||||
cont "again!"
|
||||
done
|
||||
|
||||
RoAFossilScientistGiveText:
|
||||
text "So! You hurry and"
|
||||
line "give me that!"
|
||||
|
||||
para "<PLAYER> handed"
|
||||
line "over the fossil."
|
||||
done
|
||||
|
||||
RoAFossilScientistReceiveText:
|
||||
text "<PLAYER> received"
|
||||
line "@"
|
||||
text_ram wStringBuffer3
|
||||
text "!"
|
||||
|
||||
; Since he's now in the Ruins of Alph centre...
|
||||
; Let's have him complain.
|
||||
; This text is transliterated Chinese, character-for-character.
|
||||
; 他们不明白宝可梦化石!比Unown有趣! (maybe a 更 thrown in).
|
||||
; The way the broken English works seems similar enough.
|
||||
para "They no understand"
|
||||
line "#MON fossils!"
|
||||
|
||||
para "Compare UNOWN,"
|
||||
line "they more have"
|
||||
cont "interest!"
|
||||
done
|
||||
|
||||
RuinsOfAlphResearchCenter_MapEvents:
|
||||
db 0, 0 ; filler
|
||||
|
||||
def_warp_events
|
||||
warp_event 2, 7, RUINS_OF_ALPH_OUTSIDE, 6
|
||||
warp_event 3, 7, RUINS_OF_ALPH_OUTSIDE, 6
|
||||
warp_event 6, 7, RUINS_OF_ALPH_OUTSIDE, 6
|
||||
warp_event 7, 7, RUINS_OF_ALPH_OUTSIDE, 6
|
||||
|
||||
def_coord_events
|
||||
|
||||
def_bg_events
|
||||
bg_event 6, 5, BGEVENT_READ, RuinsOfAlphResearchCenterBookshelf
|
||||
bg_event 3, 4, BGEVENT_READ, RuinsOfAlphResearchCenterComputer
|
||||
bg_event 7, 1, BGEVENT_READ, RuinsOfAlphResearchCenterPrinter
|
||||
bg_event 10, 5, BGEVENT_READ, RuinsOfAlphResearchCenterBookshelf
|
||||
bg_event 7, 4, BGEVENT_READ, RuinsOfAlphResearchCenterComputer
|
||||
bg_event 11, 1, BGEVENT_READ, RuinsOfAlphResearchCenterPrinter
|
||||
|
||||
def_object_events
|
||||
object_event 4, 5, SPRITE_SCIENTIST, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, RuinsOfAlphResearchCenterScientist1Script, -1
|
||||
object_event 5, 2, SPRITE_SCIENTIST, SPRITEMOVEDATA_WANDER, 2, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, RuinsOfAlphResearchCenterScientist2Script, -1
|
||||
object_event 2, 5, SPRITE_SCIENTIST, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, RuinsOfAlphResearchCenterScientist3Script, EVENT_RUINS_OF_ALPH_RESEARCH_CENTER_SCIENTIST
|
||||
object_event 6, 5, SPRITE_SCIENTIST, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, RuinsOfAlphResearchCenterScientist1Script, -1
|
||||
object_event 7, 2, SPRITE_SCIENTIST, SPRITEMOVEDATA_WANDER, 2, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, RuinsOfAlphResearchCenterScientist2Script, -1
|
||||
object_event 4, 5, SPRITE_SCIENTIST, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, RuinsOfAlphResearchCenterScientist3Script, EVENT_RUINS_OF_ALPH_RESEARCH_CENTER_SCIENTIST
|
||||
object_event 0, 5, SPRITE_SCIENTIST, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, RoAFossilScientist, -1
|
||||
object_event 3, 3, SPRITE_SCIENTIST, SPRITEMOVEDATA_WANDER, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, RuinsOfAlphResearchCenterPokeCom, -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue