ref: bd66a78c0326860ee45a9de8c9f1509284eb206e
parent: 81adc69e6583a0b77e39b92754704eb0e338d090
author: IIMarckus <[email protected]>
date: Tue Feb 21 18:12:03 EST 2012
Restrict an argument to 8 bits. Fixes the build on some architectures. hg-commit-id: e66818b266cf
--- a/main.asm
+++ b/main.asm
@@ -17111,7 +17111,7 @@
.inBattle\@
xor a
ld [$cd3d],a ; initialize variable that indicates if any pokemon were woken up to zero
- ld b,~SLP
+ ld b,~SLP & $FF
ld hl,W_PARTYMON1_STATUS
call WakeUpEntireParty
ld a,[W_ISINBATTLE]