Candy Jar in Indigo Plateau, plus improvements!

The Candy Jar is now obtainable in the Indigo Plateau, instead of being an item obtained from Chief. I've removed most Chief-related stuff but expect some instability after you beat him, as I don't believe I completely removed the function to call the text.

The Candy Jar will now not collect candies in the following instances;
- It isn't in the bag.
- The total would go over 40.
Just makes sense and ensures players are engaging with the proper intentions. The 40 total is necessary, as over 40 stops the jar from working. This does mean some candies are "lost", but the players see that.

There's a bug where Meltan will have the moves of the Pokemon it's replacing and I don't know why. I've tried a bunch of fixes in `LoadEnemyMonData` but it didn't seem to want to work.
This commit is contained in:
Llinos Evans 2023-06-01 18:40:32 +01:00
parent ed5e6b4867
commit 01737d7b77
8 changed files with 130 additions and 90 deletions

View file

@ -23,3 +23,32 @@ _IndigoPlateauLobbyText3::
cont "next trainer!"
cont "Good luck!"
done
_CandyJarPreReceiveText::
text "I found this empty"
line "jar on the floor."
para "Mind taking it"
line "off my hands?"
prompt
_ReceivedCandyJarText::
text "<PLAYER> received"
line "@"
text_ram wStringBuffer
text "!@"
text_end
_CandyJarExplanationText::
text "Me and CRYITHAN"
line "are so ready for"
cont "the LEAGUE!"
para "Good luck to you!"
done
_CandyJarNoRoomText::
text "No room? Oh, what"
line "to do..."
done

View file

@ -73,40 +73,3 @@ _ChiefAfterBattleText::
done
_CandyJarPreReceiveText::
text "I want you to"
line "have this."
done
_ReceivedCandyJarText::
text "<PLAYER> received"
line "@"
text_ram wStringBuffer
text "!@"
text_end
_CandyJarExplanationText::
text "When researching"
line "MEW, GIOVANNI"
cont "discovered one"
cont "more mythical"
cont "#MON."
para "Its name is"
line "MELTAN. It loves"
cont "a certain kind"
cont "of CANDY."
para "Give it this"
line "JAR. It will"
cont "become extremely"
cont "powerful."
done
_CandyJarNoRoomText::
text "Ah, your BAG"
line "is full. I'll"
cont "hold onto this"
cont "for you, then."
done