Address remaining review comments

This commit is contained in:
PikalaxALT
2020-03-05 16:14:40 -05:00
parent 3dc2acc32d
commit 2e8d5d6279
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2350,7 +2350,7 @@ static void Task_ShowDodrioBerryPickingRecords(u8 taskId)
data[0]++;
break;
case 2:
if (gMain.newKeys & (A_BUTTON | B_BUTTON))
if (JOY_NEW(A_BUTTON | B_BUTTON))
{
rbox_fill_rectangle(data[1]);
CopyWindowToVram(data[1], 1);
+1 -1
View File
@@ -671,7 +671,7 @@ static void sub_81543C4(u8 spriteId)
// Gamefreak made a mistake there and goes out of bounds for the data array as it holds 8 elements
// in turn overwriting sprite's subpriority and subsprites fields.
#if defined(NONMATCHING)
#if defined(BUGFIX)
#define sKeepPosX data[1]
#else
#define sKeepPosX data[10]