diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2019-06-27 16:05:07 -0400 |
---|---|---|
committer | huderlem <huderlem@gmail.com> | 2019-07-02 19:29:49 -0500 |
commit | 8a5fe8781a3c6be1530f28ca953d4bd212eaf00e (patch) | |
tree | 0c69344a24f0b1a320e90fe74183d50d183692b7 /src/roulette.c | |
parent | a4370455268b24bf92e7955fb5ed975edb955e42 (diff) |
Finish roulette data
Diffstat (limited to 'src/roulette.c')
-rw-r--r-- | src/roulette.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/roulette.c b/src/roulette.c index c0732aaa0..38ba26b84 100644 --- a/src/roulette.c +++ b/src/roulette.c @@ -1663,7 +1663,7 @@ void debug_sub_812CDE4(u8 taskId) StringExpandPlaceholders(gStringVar4, gOtherText_Coins); MenuPrint_RightAligned(gStringVar4, 9, 1); } - else if (gMain.newKeys & 0x100) + else if (gMain.newKeys & R_BUTTON) { gTasks[taskId].data[13] += 10; if (gTasks[taskId].data[13] > 9999) @@ -1672,7 +1672,7 @@ void debug_sub_812CDE4(u8 taskId) StringExpandPlaceholders(gStringVar4, gOtherText_Coins); MenuPrint_RightAligned(gStringVar4, 9, 1); } - else if (gMain.newKeys & 0x200) + else if (gMain.newKeys & L_BUTTON) { gTasks[taskId].data[13] -= 10; if (gTasks[taskId].data[13] < 0) @@ -1681,7 +1681,7 @@ void debug_sub_812CDE4(u8 taskId) StringExpandPlaceholders(gStringVar4, gOtherText_Coins); MenuPrint_RightAligned(gStringVar4, 9, 1); } - else if (gMain.newKeys & 8) + else if (gMain.newKeys & START_BUTTON) { gSaveBlock1.coins = gTasks[taskId].data[13]; gTasks[taskId].func = Task_Roulette_0; @@ -1690,7 +1690,7 @@ void debug_sub_812CDE4(u8 taskId) MenuPrint_RightAligned(gStringVar4, 9, 1); unk_2039560 = 0; } - else if (gMain.newKeys & 4) + else if (gMain.newKeys & SELECT_BUTTON) { gSaveBlock1.coins = gTasks[taskId].data[13]; gTasks[taskId].func = Task_Roulette_0; |