diff options
| author | entrpntr <12521136+entrpntr@users.noreply.github.com> | 2020-06-06 15:09:50 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-06 15:09:50 -0400 |
| commit | 2c9fbba109e8347fb4641d63d0f2817371644e6f (patch) | |
| tree | 292e206b009b27f0def4280aebf90c890057ba7a /data/events | |
| parent | 41aed88e16a138293971d63e7facfceb8f612c60 (diff) | |
| parent | afcf8f19575164e4b0fa92319041f888e719f68d (diff) | |
Merge pull request #45 from libjet/bank3e
Disassemble bank $3e
Diffstat (limited to 'data/events')
| -rwxr-xr-x | data/events/magikarp_lengths.asm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/data/events/magikarp_lengths.asm b/data/events/magikarp_lengths.asm new file mode 100755 index 00000000..1a1040d6 --- /dev/null +++ b/data/events/magikarp_lengths.asm @@ -0,0 +1,20 @@ +MagikarpLengths: +; [wMagikarpLength] = z * 100 + (bc - x) / y +; First argument is the bc threshold as well as x. +; Second argument is y. +; In reality, due to the bug at .BCLessThanDE, +; the threshold is determined by only register b. + dwb 110, 1 ; not used unless the bug is fixed + dwb 310, 2 + dwb 710, 4 + dwb 2710, 20 + dwb 7710, 50 + dwb 17710, 100 + dwb 32710, 150 + dwb 47710, 150 + dwb 57710, 100 + dwb 62710, 50 + dwb 64710, 20 + dwb 65210, 5 + dwb 65410, 2 + dwb 65510, 1 ; not used |
