maximum_spirit
Global of Himegari Dungeon Meister: the cell G:0x20534, of type int, counter, values nonnegative spirit capacity; debug clamp 0..999.
Maximum 精気 capacity paired with current_spirit. TRAIN clamps the post-cost current value against it, DRAWCHP renders the current/maximum gauge, and field/scene reward paths raise or restore the same capacity.
OME’s registry gives it with high confidence, from investigation. The base mod himegari-base exports the name, so Lua and an event’s fields can use it.
It depends on 0x20530.
Scripts that use it
The game’s scripts whose instructions read, write or index (take as an array’s base) the cell, with how many of their operands do each, from OME’s script index.
| Script | Reads | Writes | Indexes |
|---|---|---|---|
SC1200 | 35 | 21 | 0 |
SC1210 | 25 | 15 | 0 |
SC0050 | 15 | 9 | 0 |
SC0080 | 10 | 6 | 0 |
SC0820 | 10 | 6 | 0 |
DRAWCHP | 12 | 0 | 0 |
DEBUGADV2 | 7 | 3 | 0 |
SC0010 | 5 | 3 | 0 |
SC0030 | 5 | 3 | 0 |
SC0040 | 5 | 3 | 0 |
SC0060 | 5 | 3 | 0 |
SC0070 | 5 | 3 | 0 |
SC0090 | 5 | 3 | 0 |
SC0400 | 5 | 3 | 0 |
SC0790 | 5 | 3 | 0 |
USEITEM | 5 | 3 | 0 |
FIELD | 5 | 1 | 0 |
SALLY | 6 | 0 | 0 |
DEBUGMAP | 1 | 1 | 0 |
DEBUGMAP2 | 1 | 1 | 0 |
DEBUGMAP3 | 1 | 1 | 0 |
READY | 2 | 0 | 0 |
SC1560 | 2 | 0 | 0 |
TRAIN | 2 | 0 | 0 |
ALCHEMY | 1 | 0 | 0 |
MAGIC | 1 | 0 | 0 |
MVSEEK | 1 | 0 | 0 |