Continue documenting roulette

This commit is contained in:
GriffinR
2020-07-31 14:55:42 -04:00
parent 22b5b6b074
commit b40cee540e
7 changed files with 389 additions and 597 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -4,6 +4,10 @@
#include "roulette_util.h"
#include "util.h"
// "Roulette Util" is perhaps more accurately a general flashing util
// e.g. it handles fading the palettes for the color selections on the Roulette wheel
// but it also handles the "pulse blend" effect of Mirage Tower
void sub_8151678(struct UnkStruct0 *r0)
{
r0->var00 = 0;
@@ -429,7 +433,8 @@ void UpdatePulseBlend(struct PulseBlend *pulseBlend)
}
}
void ClearGridSelectionRect(u16 *dest, u16 src, u8 left, u8 top, u8 width, u8 height)
// Below used for the Roulette grid
void ClearTilemapRect(u16 *dest, u16 src, u8 left, u8 top, u8 width, u8 height)
{
u16 *_dest;
u8 i;
@@ -446,7 +451,7 @@ void ClearGridSelectionRect(u16 *dest, u16 src, u8 left, u8 top, u8 width, u8 he
}
}
void SetGridSelectionRect(u16 *dest, u16 *src, u8 left, u8 top, u8 width, u8 height)
void SetTilemapRect(u16 *dest, u16 *src, u8 left, u8 top, u8 width, u8 height)
{
u16 *_dest;
u16 *_src = src;