mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-27 04:16:47 -05:00
Merge pull request #2332 from mrgriffin/pret-pokelot-prize-item
ResetLotteryCorner: VAR_POKELOT_PRIZE_ITEM contains an item ID
This commit is contained in:
@@ -26,7 +26,7 @@ void ResetLotteryCorner(void)
|
||||
u16 rand = Random();
|
||||
|
||||
SetLotteryNumber((Random() << 16) | rand);
|
||||
VarSet(VAR_POKELOT_PRIZE_ITEM, 0);
|
||||
VarSet(VAR_POKELOT_PRIZE_ITEM, ITEM_NONE);
|
||||
}
|
||||
|
||||
void SetRandomLotteryNumber(u16 i)
|
||||
|
||||
Reference in New Issue
Block a user