diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-04 16:16:29 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-04 16:16:29 -0400 |
commit | 36f8cd1477b8ebe0537e99abd3ba53471a2e16c4 (patch) | |
tree | 4a1c0294193a497e15ec8e6be59390eb1f84b5d3 /engine/gfx | |
parent | 73be62fad6007b1a84675153634aaf57676455ac (diff) |
UPDATE_PARTY_MENU_BLK_PACKET -> SET_PAL_PARTY_MENU_HP_BARS, and introduce SET_PAL_DEFAULT
Diffstat (limited to 'engine/gfx')
-rwxr-xr-x | engine/gfx/palettes.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/gfx/palettes.asm b/engine/gfx/palettes.asm index 9ec0f04a..58e08e86 100755 --- a/engine/gfx/palettes.asm +++ b/engine/gfx/palettes.asm @@ -1,11 +1,11 @@ _RunPaletteCommand: call GetPredefRegisters ld a, b - cp $ff - jr nz, .next - ld a, [wDefaultPaletteCommand] ; use default command if command ID is $ff -.next - cp UPDATE_PARTY_MENU_BLK_PACKET + cp SET_PAL_DEFAULT + jr nz, .not_default + ld a, [wDefaultPaletteCommand] +.not_default + cp SET_PAL_PARTY_MENU_HP_BARS jp z, UpdatePartyMenuBlkPacket ld l, a ld h, 0 |