Dragz’s Backstage

No major release today, just a collection of miscellaneous inline changes. The battle crit threshold was by popular demand but I didn’t feel right devoting an entire post to just one inline change. So here’s five!

Battle crit threshold
PUSH
ORG 0x02ACC0
BYTE 0xA // battle crit below this number becomes set to 0
POP

Comment should be self-explanatory.

BWL Position
PUSH
ORG 0x870B8
WORD 0x020040F4 // I can't entirely explain it but the last two bytes here determine position
POP

Self-explanatory once again, the default value moves the BWL display down one tile to fit another line of stats there.

Remove prep support room theme
PUSH
ORG 0x951FC
SHORT 0x46C0 0x46C0 // nop out function call to change music
POP

Literally the simplest hack here, this makes it so the prep theme keeps playing when in the Support submenu there.

Stat Screen Map Sprite Y-Pos
#define MapSpriteYPos 0x97 // pixels, not tiles

PUSH
ORG 0x0886EC
BYTE MapSpriteYPos

ORG 0x087CE6
BYTE MapSpriteYPos

ORG 0x087DBC
BYTE MapSpriteYPos

ORG 0x087E34
BYTE MapSpriteYPos

POP

Self-explanatory (wow, there sure were a lot of these). Moves the unit’s moving map sprite in the stat screen down to the defined pixel, mostly useful if expanding the class name. You can see how it looks with the default value in the BWL position image.

Support screen positions
PUSH
// X-Offset of the support partner name in list
ORG 0x87722
SHORT 0x3104

// X-Offset of the support rank in list
ORG 0x87748
SHORT 0x340D
POP

For the first time in this list, not self-explanatory. This changes how far to the right each element of a support line is drawn to the affinity. This is really only useful if you’re doing what I did and split page 3 of the stat screen up into two columns.

These won’t go in the GitHub, so just copy the text from here and paste it wherever.

11 Likes