diff options
author | yenatch <yenatch@gmail.com> | 2014-05-24 11:40:38 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-05-24 11:40:38 -0700 |
commit | 64479cd64205d611a66698f447aa42c16c334b2d (patch) | |
tree | 2cd1ddc619864053accbbc7f6cbf084a9bd33c53 /engine/slot_machine.asm | |
parent | 8f8281fe6ed02d8235ab9f92fa6ae93f50a3bf8e (diff) |
Rename random number function and hram labels.
GenRandom -> Random
GenRandomInBattle -> BattleRandom
H_RAND1 -> hRandomAdd
H_RAND2 -> hRandomSub
Diffstat (limited to 'engine/slot_machine.asm')
-rwxr-xr-x | engine/slot_machine.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/slot_machine.asm b/engine/slot_machine.asm index a3c83e64..6c106239 100755 --- a/engine/slot_machine.asm +++ b/engine/slot_machine.asm @@ -179,7 +179,7 @@ SlotMachine_37480: ; 37480 (d:7480) ld a, [W_SUBANIMSUBENTRYADDR] and a jr nz, .skip1 - call GenRandom + call Random and a jr z, .skip2 ld b, a @@ -578,7 +578,7 @@ SlotReward300Func: ; 37702 (d:7702) call PrintText ld a, (SFX_1f_3b - SFX_Headers_1f) / 3 call PlaySound - call GenRandom + call Random cp $80 ld a, $0 jr c, .skip |