Merge pull request #1124 from PokeCodec/smaller-array

sp stack should be 2 elements deep, not 4
This commit is contained in:
GriffinR 2020-08-11 23:26:09 -04:00 committed by GitHub
commit 5735609629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3271,7 +3271,7 @@ static void BerryCrush_SetPaletteFadeParams(u8 *params, bool8 communicateAfter,
void sub_8024644(u8 *r0, u32 r1, u32 r2, u32 r3, u32 r5) void sub_8024644(u8 *r0, u32 r1, u32 r2, u32 r3, u32 r5)
{ {
u8 sp[4]; u8 sp[2];
0[(u16 *)sp] = r3; 0[(u16 *)sp] = r3;
r0[0] = r1; r0[0] = r1;