Goal of this Research:
Create a new subroutine in the game to allow MP Drain digits to offer a new color, versus HP Drain.
- Identify which routines are used during battle for MP Drain
- Write Branching logic to Jump to the new subroutine in all of the existing routines
- Write new subroutine to
- choose a blue versus green color for digits when MP is gained
- choose a red versus white color for digits when MP s lost
Assumptions:
- Existing routines to assign colors to the digits can be leveraged for this new subroutines
- The new colors assigned will automatically clear whenever another digit sequence appears
Notes & Findings
There are 6 ways for player characters to drain MP in the game:
- !Dance Ability, with the Mystery Waltz
- !DragonSword Ability
- the Psych spell
- the Psych Sword attack
- the 1st Lilith Kiss Mix (Maiden's Kiss + Ether)
- the 2nd Lilith Kiss Mix (Maiden's Kiss + Elixir)
The two Mix recipes are almost certainly different in a lookup table, but it’s uncertain if they point to the same effect routine in the rom.
Any monster abilities that also do this may represent a 7th or worst case scenario, nth possible other routines.
<aside>
🤔
Maybe it’s possible to hook into a central routine that runs downstream from all of these! After all, there are main ways to gain HP and they all resolve to green digits!
</aside>