mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-07 16:45:24 +13:00
Pewter Museum of Science
Most things are now done. Blockset is presentable, so expansion can be done with time. Things not done: - Scarlet/Violet Books (I want to do these like Bill's favourite Pokemon PC from RBY) - Computer things for a fossil machine (Take from the Oak Lab tileset I sorted in KEP?? Or do what the RoA place does? Both require tileset modifications and map expansion) - Aerodactyl/Kabutops fossil displays. Pretty good, huh?
This commit is contained in:
parent
bd29d71e81
commit
36d0916e8e
11 changed files with 449 additions and 130 deletions
|
|
@ -1,11 +1,46 @@
|
|||
object_const_def
|
||||
const PEWTERMUSEUMOFSCIENCE1F_SCIENTIST1
|
||||
const PEWTERMUSEUMOFSCIENCE1F_POKEFANM
|
||||
const PEWTERMUSEUMOFSCIENCE1F_SCIENTIST2
|
||||
const PEWTERMUSEUMOFSCIENCE1F_SCIENTIST3
|
||||
|
||||
PewterMuseumOfScience1F_MapScripts:
|
||||
def_scene_scripts
|
||||
scene_const SCENE_MUSEUM_TICKET
|
||||
|
||||
def_callbacks
|
||||
|
||||
MuseumTicket:
|
||||
opentext
|
||||
checkevent EVENT_GOT_TICKET
|
||||
iftrue .done
|
||||
special PlaceMoneyTopRight
|
||||
writetext Museum1FText_BuyTicket
|
||||
yesorno
|
||||
iffalse .done
|
||||
checkmoney YOUR_MONEY, 50
|
||||
ifequal HAVE_LESS, .cantafford
|
||||
takemoney YOUR_MONEY, 50
|
||||
waitsfx
|
||||
playsound SFX_TRANSACTION
|
||||
closetext
|
||||
applymovement PLAYER, MuseumComeInMovement
|
||||
sjump .superdone
|
||||
.cantafford
|
||||
opentext
|
||||
writetext Museum1FText_NoMoney
|
||||
waitbutton
|
||||
closetext
|
||||
.done
|
||||
opentext
|
||||
writetext Museum1FText_ComeAgain
|
||||
waitbutton
|
||||
closetext
|
||||
clearevent EVENT_GOT_TICKET ; This means you have to pay if you go back but that's just kinda funny.
|
||||
applymovement PLAYER, MuseumComeAgainMovement
|
||||
.superdone
|
||||
end
|
||||
|
||||
; This scientist will use the HGSS Fossil Scientist's script, albeit slightly altered.
|
||||
MuseumFossilScientist:
|
||||
faceplayer
|
||||
|
|
@ -289,6 +324,213 @@ MuseumFossilScientistReceiveText:
|
|||
text "!"
|
||||
done
|
||||
|
||||
MuseumOldManScript:
|
||||
faceplayer
|
||||
opentext
|
||||
writetext MuseumOldManText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
MuseumOldManText:
|
||||
text "That is one"
|
||||
line "magnificent"
|
||||
cont "fossil!"
|
||||
done
|
||||
|
||||
MuseumSadaScript:
|
||||
faceplayer
|
||||
opentext
|
||||
writetext MuseumSadaText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
MuseumSadaText:
|
||||
text "These books are"
|
||||
line "so cool!"
|
||||
|
||||
para "I want to find"
|
||||
line "these #MON"
|
||||
cont "when I grow up!"
|
||||
done
|
||||
|
||||
MuseumAmberManScript:
|
||||
faceplayer
|
||||
opentext
|
||||
writetext MuseumAmberManText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
MuseumAmberManText:
|
||||
text "Huh? This stand?"
|
||||
|
||||
para "I used to study"
|
||||
line "a piece of OLD"
|
||||
cont "AMBER, and had"
|
||||
cont "a kid take it"
|
||||
cont "to a SCIENTIST"
|
||||
cont "in CINNABAR."
|
||||
|
||||
para "It turned out"
|
||||
line "to contain DNA"
|
||||
cont "of a DECILLA!"
|
||||
|
||||
para "Crazy, huh?"
|
||||
done
|
||||
|
||||
Museum1FText_ComeAgain:
|
||||
text "Come again!"
|
||||
done
|
||||
|
||||
Museum1FText_BuyTicket:
|
||||
text "It's ¥50 for a"
|
||||
line "child's ticket."
|
||||
|
||||
para "Would you like to"
|
||||
line "come in?"
|
||||
done
|
||||
|
||||
Museum1FText_BoughtTicket:
|
||||
text "Right, ¥50!"
|
||||
line "Thank you!"
|
||||
done
|
||||
|
||||
Museum1FText_NoMoney:
|
||||
text "You don't have"
|
||||
line "enough money."
|
||||
prompt
|
||||
|
||||
MuseumComeAgainMovement:
|
||||
step DOWN
|
||||
turn_head DOWN
|
||||
step_end
|
||||
|
||||
MuseumComeInMovement:
|
||||
step UP
|
||||
turn_head UP
|
||||
step_end
|
||||
|
||||
; We need this guy to check your facing or coords but idk how to do it rn and cba to search through code. sue me. ~ PvK
|
||||
MuseumReceptionistScript:
|
||||
faceplayer
|
||||
opentext
|
||||
writetext MuseumReceptionistText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
; Temporary
|
||||
HelixFossilScript:
|
||||
opentext
|
||||
writetext HelixFossilText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
HelixFossilText:
|
||||
text "OMANYTE FOSSIL"
|
||||
line "An ancient and"
|
||||
cont "primitive #-"
|
||||
cont "MON."
|
||||
done
|
||||
|
||||
CuratorScript:
|
||||
opentext
|
||||
writetext CuratorText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
CuratorText:
|
||||
text "It's a photo"
|
||||
line "of the museum's"
|
||||
cont "curator, PHINEAS"
|
||||
cont "FOGG."
|
||||
done
|
||||
|
||||
VioletBookScript:
|
||||
opentext
|
||||
writetext VioletBookText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
VioletBookText:
|
||||
text "Comment to be"
|
||||
line "written."
|
||||
done
|
||||
|
||||
ScarletBookScript:
|
||||
opentext
|
||||
writetext ScarletBookText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
ScarletBookText:
|
||||
text "Comment to be"
|
||||
line "written."
|
||||
done
|
||||
|
||||
MuseumReceptionistText:
|
||||
text "Welcome to the"
|
||||
line "PEWTER MUSEUM OF"
|
||||
cont "SCIENCE! We have"
|
||||
cont "just re-opened!"
|
||||
prompt
|
||||
|
||||
MuseumReceptionistLol:
|
||||
text "You can't sneak"
|
||||
line "in the back way!"
|
||||
|
||||
para "Sigh…"
|
||||
|
||||
para "A kid did this"
|
||||
line "once, you know."
|
||||
cont "Then he went on"
|
||||
cont "to become the"
|
||||
cont "CHAMPION."
|
||||
|
||||
para "Huh?! You're the"
|
||||
line "JOHTO LEAGUE CHAMP?"
|
||||
|
||||
para "Well, I'll be!"
|
||||
|
||||
para "If you see our"
|
||||
line "champ, tell him"
|
||||
cont "we said hi!"
|
||||
done
|
||||
|
||||
AerodactylFossilScript:
|
||||
opentext
|
||||
writetext AerodactylFossilText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
AerodactylFossilText:
|
||||
text "AERODACTYL FOSSIL"
|
||||
line "The progenitor of"
|
||||
cont "birds that terror-"
|
||||
cont "ised our skies!"
|
||||
done
|
||||
|
||||
KabutopsFossilScript:
|
||||
opentext
|
||||
writetext KabutopsFossilText
|
||||
waitbutton
|
||||
setval KABUTOPS
|
||||
end
|
||||
|
||||
KabutopsFossilText:
|
||||
text "KABUTOPS FOSSIL"
|
||||
line "It attacked fish"
|
||||
cont "with its sickle-"
|
||||
cont "like arms!"
|
||||
done
|
||||
|
||||
PewterMuseumOfScience1F_MapEvents:
|
||||
db 0, 0 ; filler
|
||||
|
||||
|
|
@ -300,8 +542,21 @@ PewterMuseumOfScience1F_MapEvents:
|
|||
warp_event 7, 7, PEWTER_MUSEUM_OF_SCIENCE_2F, 1
|
||||
|
||||
def_coord_events
|
||||
coord_event 9, 4, SCENE_MUSEUM_TICKET, MuseumTicket
|
||||
coord_event 10, 4, SCENE_MUSEUM_TICKET, MuseumTicket
|
||||
|
||||
def_bg_events
|
||||
bg_event 6, 1, BGEVENT_UP, HelixFossilScript
|
||||
bg_event 2, 6, BGEVENT_UP, AerodactylFossilScript
|
||||
bg_event 2, 3, BGEVENT_UP, KabutopsFossilScript
|
||||
bg_event 7, 0, BGEVENT_UP, CuratorScript
|
||||
bg_event 9, 1, BGEVENT_UP, VioletBookScript
|
||||
bg_event 8, 1, BGEVENT_UP, ScarletBookScript
|
||||
|
||||
def_object_events
|
||||
object_event 6, 3, SPRITE_SCIENTIST, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, MuseumFossilScientist, -1
|
||||
object_event 12, 2, SPRITE_SCIENTIST, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, MuseumFossilScientist, -1
|
||||
object_event 1, 4, SPRITE_GRAMPS, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, MuseumOldManScript, -1
|
||||
object_event 17, 2, SPRITE_SCIENTIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, MuseumAmberManScript, -1
|
||||
object_event 12, 4, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, MuseumReceptionistScript, -1
|
||||
object_event 7, 3, SPRITE_LASS, SPRITEMOVEDATA_WANDER, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, MuseumSadaScript, -1
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue