You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Document one more bug/oversight
Move FleeMons table into data/
This commit is contained in:
@@ -820,41 +820,7 @@ TryEnemyFlee: ; 3c543
|
|||||||
ret
|
ret
|
||||||
; 3c59a
|
; 3c59a
|
||||||
|
|
||||||
FleeMons:
|
INCLUDE "data/battle/flee_mons.asm"
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
CompareMovePriority: ; 3c5b4
|
CompareMovePriority: ; 3c5b4
|
||||||
; Compare the priority of the player and enemy's moves.
|
; Compare the priority of the player and enemy's moves.
|
||||||
@@ -876,7 +842,7 @@ GetMovePriority: ; 3c5c5
|
|||||||
|
|
||||||
ld b, a
|
ld b, a
|
||||||
|
|
||||||
; Vital throw goes last.
|
; Vital Throw goes last.
|
||||||
cp VITAL_THROW
|
cp VITAL_THROW
|
||||||
ld a, 0
|
ld a, 0
|
||||||
ret z
|
ret z
|
||||||
|
@@ -450,7 +450,7 @@ GetBallAnimPal: ; cd249 (33:5249)
|
|||||||
ret
|
ret
|
||||||
; cd26c (33:526c)
|
; cd26c (33:526c)
|
||||||
|
|
||||||
INCLUDE "data/ball_colors.asm"
|
INCLUDE "data/battle/ball_colors.asm"
|
||||||
|
|
||||||
BattleAnimFunction_10: ; cd284 (33:5284)
|
BattleAnimFunction_10: ; cd284 (33:5284)
|
||||||
call BattleAnim_AnonJumptable
|
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)
|
- [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)
|
- [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)
|
- [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)
|
- [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)
|
- [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)
|
- [`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`.
|
**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`
|
## No bump noise if standing on tile `$3E`
|
||||||
|
|
||||||
This is a bug with `DoPlayerMovement.CheckWarp` in [engine/player_movement.asm](/engine/player_movement.asm):
|
This is a bug with `DoPlayerMovement.CheckWarp` in [engine/player_movement.asm](/engine/player_movement.asm):
|
||||||
|
Reference in New Issue
Block a user