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/hidden_object_functions17.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/hidden_object_functions17.asm')
-rwxr-xr-x | engine/hidden_object_functions17.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/hidden_object_functions17.asm b/engine/hidden_object_functions17.asm index d0c6699e..7cf33faf 100755 --- a/engine/hidden_object_functions17.asm +++ b/engine/hidden_object_functions17.asm @@ -362,7 +362,7 @@ GymTrashScript: ; 5ddfc (17:5dfc) ld [$ffdb], a push hl - call GenRandom + call Random swap a ld b, a ld a, [$ffdb] @@ -390,7 +390,7 @@ GymTrashScript: ; 5ddfc (17:5dfc) ; Reset the cans. ld hl, $d773 res 1, [hl] - call GenRandom + call Random and $e ld [$d743], a |