diff options
| author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2020-04-16 09:48:30 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-16 09:48:30 -0400 |
| commit | 93ed0ed19ce615f99a36062cd2133e8ee2e75cc1 (patch) | |
| tree | 10144e3fb75ae2181bb834a186851d57c9df44cc /engine/events | |
| parent | 3540578cb3452944d6c60bc13db16bc1f19b3586 (diff) | |
| parent | 58b377f25bf673702f26551824b329fb4675f64d (diff) | |
Merge pull request #711 from Rangi42/master
Fix #709 miscellaneous issues
Diffstat (limited to 'engine/events')
| -rw-r--r-- | engine/events/odd_egg.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/events/odd_egg.asm b/engine/events/odd_egg.asm index a6ca15b8c..d6d8f344e 100644 --- a/engine/events/odd_egg.asm +++ b/engine/events/odd_egg.asm @@ -23,13 +23,13 @@ _GiveOddEgg: .not_done ; Break when [hRandom] <= de. - ldh a, [hRandom + 1] + ldh a, [hRandomSub] cp d jr c, .done jr z, .ok jr .next .ok - ldh a, [hRandom + 0] + ldh a, [hRandomAdd] cp e jr c, .done jr z, .done |
