diff options
author | libjet <libj3t@gmail.com> | 2020-06-06 02:22:45 +0100 |
---|---|---|
committer | libjet <libj3t@gmail.com> | 2020-06-06 02:22:45 +0100 |
commit | 5ea5b0d9019b3de45129d347eaf2a1f565839a8d (patch) | |
tree | e9b237a0eb3ce252e33f1cf6d7437253f62eb7f0 /data | |
parent | dd65caf5110833e2edca0d9b6af797f8535c766f (diff) |
Add engine/events/magikarp.asm
Diffstat (limited to 'data')
-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 |