Medabots / medarot3

Medarot 3 GBC disassembly/translation
27 stars 6 forks source link

Yen symbol cuts off first digit of 5-digit value #210

Closed Blaziken257 closed 9 months ago

Blaziken257 commented 10 months ago

Versions

First occurred in tr_EN+nightly.20230820 and remains in tr_EN+nightly.20230909

Hardware/emulators used

GBA SP using Everdrive X7 and BGB (in GBC mode)

Description

When the player has 10,000 or more yen, and presses B to open the menu and chooses an option, the leftmost digit is temporarily replaced with the yen symbol. This does not occur when the player has 9,990 or less yen.

This issue first occurred on the same nightly build that fixed issues #204 and #207, and might possibly be a side effect of fixing them.

To test this easily, change RAM addresses C670-C671, which is a 16-bit big-endian value for the amount of money you have. (This does not include the ones digit which is always 0.) 03E8 (1000×10) or higher will give a five-digit value (including the final 0) while anything lower than that will give a four or less digit value.

Animation

M3_Yen_Bug_2

VRAM

Background

M3_Yen_2_VRAM_BG

Window

M3_Yen_2_VRAM_Window

Save

A save is attached which has a 5-digit monetary value.

Medarot 3 - Kabuto Version (Japan) (EN 20230820).zip