mirror of
https://github.com/pret/pokecrystal.git
synced 2024-11-23 13:29:42 +00:00
Document one more bug/oversight
Move FleeMons table into data/
This commit is contained in:
parent
6ba30e593e
commit
28aec67f6e
@ -820,41 +820,7 @@ TryEnemyFlee: ; 3c543
|
||||
ret
|
||||
; 3c59a
|
||||
|
||||
FleeMons:
|
||||
|
||||
SometimesFleeMons: ; 3c59a
|
||||
db MAGNEMITE
|
||||
db GRIMER
|
||||
db TANGELA
|
||||
db MR__MIME
|
||||
db EEVEE
|
||||
db PORYGON
|
||||
db DRATINI
|
||||
db DRAGONAIR
|
||||
db TOGETIC
|
||||
db UMBREON
|
||||
db UNOWN
|
||||
db SNUBBULL
|
||||
db HERACROSS
|
||||
db -1
|
||||
|
||||
OftenFleeMons: ; 3c5a8
|
||||
db CUBONE
|
||||
db ARTICUNO
|
||||
db ZAPDOS
|
||||
db MOLTRES
|
||||
db QUAGSIRE
|
||||
db DELIBIRD
|
||||
db PHANPY
|
||||
db TEDDIURSA
|
||||
db -1
|
||||
|
||||
AlwaysFleeMons: ; 3c5b1
|
||||
db RAIKOU
|
||||
db ENTEI
|
||||
; db SUICUNE
|
||||
db -1
|
||||
; 3c5b4
|
||||
INCLUDE "data/battle/flee_mons.asm"
|
||||
|
||||
CompareMovePriority: ; 3c5b4
|
||||
; Compare the priority of the player and enemy's moves.
|
||||
@ -876,7 +842,7 @@ GetMovePriority: ; 3c5c5
|
||||
|
||||
ld b, a
|
||||
|
||||
; Vital throw goes last.
|
||||
; Vital Throw goes last.
|
||||
cp VITAL_THROW
|
||||
ld a, 0
|
||||
ret z
|
||||
|
@ -450,7 +450,7 @@ GetBallAnimPal: ; cd249 (33:5249)
|
||||
ret
|
||||
; cd26c (33:526c)
|
||||
|
||||
INCLUDE "data/ball_colors.asm"
|
||||
INCLUDE "data/battle/ball_colors.asm"
|
||||
|
||||
BattleAnimFunction_10: ; cd284 (33:5284)
|
||||
call BattleAnim_AnonJumptable
|
||||
|
36
data/battle/flee_mons.asm
Normal file
36
data/battle/flee_mons.asm
Normal file
@ -0,0 +1,36 @@
|
||||
FleeMons:
|
||||
; referenced by TryEnemyFlee and FastBallMultiplier
|
||||
|
||||
SometimesFleeMons: ; 3c59a
|
||||
db MAGNEMITE
|
||||
db GRIMER
|
||||
db TANGELA
|
||||
db MR__MIME
|
||||
db EEVEE
|
||||
db PORYGON
|
||||
db DRATINI
|
||||
db DRAGONAIR
|
||||
db TOGETIC
|
||||
db UMBREON
|
||||
db UNOWN
|
||||
db SNUBBULL
|
||||
db HERACROSS
|
||||
db -1
|
||||
|
||||
OftenFleeMons: ; 3c5a8
|
||||
db CUBONE
|
||||
db ARTICUNO
|
||||
db ZAPDOS
|
||||
db MOLTRES
|
||||
db QUAGSIRE
|
||||
db DELIBIRD
|
||||
db PHANPY
|
||||
db TEDDIURSA
|
||||
db -1
|
||||
|
||||
AlwaysFleeMons: ; 3c5b1
|
||||
db RAIKOU
|
||||
db ENTEI
|
||||
; db SUICUNE
|
||||
db -1
|
||||
; 3c5b4
|
@ -29,6 +29,7 @@
|
||||
- [Magikarp in Lake of Rage are shorter, not longer](#magikarp-in-lake-of-rage-are-shorter-not-longer)
|
||||
- [Battle transitions fail to account for the enemy's level](#battle-transitions-fail-to-account-for-the-enemys-level)
|
||||
- [Slot machine payout sound effects cut each other off](#slot-machine-payout-sound-effects-cut-each-other-off)
|
||||
- [Team Rocket battle music is not used for Executives or Scientists](#team-rocket-battle-music-is-not-used-for-executives-or-scientists)
|
||||
- [No bump noise if standing on tile `$3E`](#no-bump-noise-if-standing-on-tile-3e)
|
||||
- [Playing Entei's Pokédex cry can distort Raikou's and Suicune's](#playing-enteis-pokédex-cry-can-distort-raikous-and-suicunes)
|
||||
- [`LoadMetatiles` wraps around past 128 blocks](#loadmetatiles-wraps-around-past-128-blocks)
|
||||
@ -802,6 +803,36 @@ This is a bug with `Slots_PayoutAnim` in [engine/slot_machine.asm](/engine/slot_
|
||||
**Fix:** Change `ret z` to `ret nz`.
|
||||
|
||||
|
||||
## Team Rocket battle music is not used for Executives or Scientists
|
||||
|
||||
This is a bug with `PlayBattleMusic` in [main.asm](/main.asm):
|
||||
|
||||
```asm
|
||||
; really, they should have included admins and scientists here too...
|
||||
ld de, MUSIC_ROCKET_BATTLE
|
||||
cp GRUNTM
|
||||
jr z, .done
|
||||
cp GRUNTF
|
||||
jr z, .done
|
||||
```
|
||||
|
||||
**Fix:**
|
||||
|
||||
```asm
|
||||
ld de, MUSIC_ROCKET_BATTLE
|
||||
cp GRUNTM
|
||||
jr z, .done
|
||||
cp GRUNTF
|
||||
jr z, .done
|
||||
cp EXECUTIVEM
|
||||
jr z, .done
|
||||
cp EXECUTIVEF
|
||||
jr z, .done
|
||||
cp SCIENTIST
|
||||
jr z, .done
|
||||
```
|
||||
|
||||
|
||||
## No bump noise if standing on tile `$3E`
|
||||
|
||||
This is a bug with `DoPlayerMovement.CheckWarp` in [engine/player_movement.asm](/engine/player_movement.asm):
|
||||
|
Loading…
Reference in New Issue
Block a user