diff options
author | Phlosioneer <mattmdrr2@gmail.com> | 2019-02-21 23:27:12 -0500 |
---|---|---|
committer | Phlosioneer <mattmdrr2@gmail.com> | 2019-02-21 23:27:12 -0500 |
commit | c96f8751cddf1a203bd5f310683ea35bf9cb8db2 (patch) | |
tree | c0fae4e818129e04176a56876d75149ce4b70a94 /src/slot_machine.c | |
parent | 399d646e3fb24c8b4532267a4ab7aee4d2aaee92 (diff) |
Improve window palette macros
Diffstat (limited to 'src/slot_machine.c')
-rw-r--r-- | src/slot_machine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slot_machine.c b/src/slot_machine.c index bf26de437..f603f468c 100644 --- a/src/slot_machine.c +++ b/src/slot_machine.c @@ -3036,7 +3036,7 @@ s16 sub_8102D5C(s16 a0) sub_81065DC(); AddWindow(&gUnknown_085A7444); PutWindowTilemap(1); - FillWindowPixelBuffer(1, PIXEL_BUFFER_TRANSPARENT); + FillWindowPixelBuffer(1, PALETTE_NUM_TO_FILL_VALUE(0)); task->data[0]++; } @@ -3052,7 +3052,7 @@ s16 sub_8102D5C(s16 a0) { if (gMain.newKeys & (B_BUTTON | SELECT_BUTTON)) { - FillWindowPixelBuffer(1, PIXEL_BUFFER_TRANSPARENT); + FillWindowPixelBuffer(1, PALETTE_NUM_TO_FILL_VALUE(0)); ClearWindowTilemap(1); CopyWindowToVram(1, 1); RemoveWindow(1); |