Open Mr. Pokémon's house, the first rival battle and the return to Elm
Checks / web (push) Canceled after 0s
Checks / web (push) Canceled after 0s
Mr. Pokémon's ROM scene gives the Mystery Egg and Pokédex, heals the party, sets the Cherrygrove spawn with blackoutmod and queues Elm's call. Cherrygrove's rival scene runs both triggers and all three RIVAL1_1 parties as a CANLOSE battle; reloadmap returns to the script. Smart AI is accepted for effects with no AI_Smart_EffectHandlers entry (Normal Hit, Attack Down, Defense Down) and still refuses others before any random draw, including for reserve Pokémon. Special calls read SpecialPhoneCallList: the entry's condition decides, and the ROM's CheckSpecialPhoneCall.script and Script_ReceivePhoneCall run its caller script through memcall, ending with HangUp's timed "Click!". Ringing and the caller box are not presented yet. In Elm's lab, NameRival shows the ROM's "RIVAL'S NAME?" title (the prompt previously had no page and soft-locked) and applies InitName's default to blank names. Handing over the Egg and the aide's Poké Balls run from the ROM. Saves gain rivalName and specialPhoneCall. The quest fixtures use a seeded RNG (a constant byte never ends the damage-variation loop) and no longer carry the house's moved objects into Cherrygrove. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
7c1c0cc45b
commit
dc10343520
18 files changed
+812
-34
No files matched your search
@@ -87,6 +87,8 @@ const names = {
|
||||
findItemInBallScript: "FindItemInBallScript",
|
||||
caughtAskNicknameText: "CaughtAskNicknameText",
|
||||
nicknameStrings: "NamingScreenJumptable.NicknameStrings",
|
||||
rivalNameString: "NamingScreenJumptable.RivalNameString",
|
||||
rivalDefaultName: "NameRival.DefaultName",
|
||||
hiddenItemScript: "HiddenItemScript",
|
||||
talkToTrainerScript: "TalkToTrainerScript",
|
||||
seenByTrainerScript: "SeenByTrainerScript",
|
||||
@@ -131,6 +133,19 @@ const names = {
|
||||
tryReceiveItem: "FindItemInBallScript.TryReceiveItem",
|
||||
giveItemDummy: "GiveItemScript_DummyFunction",
|
||||
restartMapMusic: "RestartMapMusic",
|
||||
fadeOutMusic: "FadeOutMusic",
|
||||
fadeOutToBlack: "FadeOutToBlack",
|
||||
fadeInFromBlack: "FadeInFromBlack",
|
||||
reloadSpritesNoPalettes: "ReloadSpritesNoPalettes",
|
||||
receiveSpecialPhoneCall: "CheckSpecialPhoneCall.script",
|
||||
specialPhoneCallList: "SpecialPhoneCallList",
|
||||
specialCallOnlyWhenOutside: "SpecialCallOnlyWhenOutside",
|
||||
specialCallWhereverYouAre: "SpecialCallWhereverYouAre",
|
||||
phoneClickText: "PhoneClickText",
|
||||
ringTwiceStartCall: "RingTwice_StartCall",
|
||||
hangUp: "HangUp",
|
||||
initCallReceiveDelay: "InitCallReceiveDelay",
|
||||
nameRival: "NameRival",
|
||||
setDayOfWeek: "SetDayOfWeek",
|
||||
initialSetDst: "InitialSetDSTFlag",
|
||||
initialClearDst: "InitialClearDSTFlag",
|
||||
@@ -170,6 +185,7 @@ const ramNames = {
|
||||
movementBuffer: "wMovementBuffer",
|
||||
hiddenItemID: "wHiddenItemID",
|
||||
runningTrainerBattleScript: "wRunningTrainerBattleScript",
|
||||
callerContact: "wCallerContact",
|
||||
moneyTemp: "hMoneyTemp",
|
||||
};
|
||||
const profile = readFileSync("src/game/rom/profile.ts", "utf8");
|
||||
|
||||
Reference in new issue
Block a user