mirror of
https://github.com/pret/poketcg.git
synced 2026-03-21 17:54:26 -05:00
Minor bug and AI documentation fix
This commit is contained in:
parent
e3967f88d8
commit
80656b26b1
|
|
@ -308,7 +308,7 @@ AIDecide_PokemonTrader_PowerGenerator:
|
|||
|
||||
### AI Full Heal has flawed logic for sleep
|
||||
|
||||
The AI has the following checks when it is deciding whether to play Full Heal and its Active card is asleep in in [src/engine/duel/ai/trainer_cards.asm](https://github.com/pret/poketcg/blob/master/src/engine/duel/ai/trainer_cards.asm):
|
||||
The AI has the following checks when it is deciding whether to play Full Heal and its Active card is asleep in [src/engine/duel/ai/trainer_cards.asm](https://github.com/pret/poketcg/blob/master/src/engine/duel/ai/trainer_cards.asm):
|
||||
|
||||
```
|
||||
.asleep
|
||||
|
|
@ -620,7 +620,7 @@ AIDecideBenchPokemonToSwitchTo:
|
|||
jr z, .raise_score
|
||||
cp MEW_LV8
|
||||
jr nz, .check_if_has_bench_utility
|
||||
+ call Swap Turn
|
||||
+ call SwapTurn
|
||||
ld a, DUELVARS_ARENA_CARD
|
||||
- call GetNonTurnDuelistVariable
|
||||
+ call GetTurnDuelistVariable
|
||||
|
|
|
|||
|
|
@ -916,7 +916,7 @@ AITryToPlayEnergyCard:
|
|||
jr .play_energy_card
|
||||
|
||||
; otherwise, look for any card and play it.
|
||||
; if it's a boss deck, only play double colorless in this situation.
|
||||
; if it's a boss deck, don't play double colorless in this situation.
|
||||
.look_for_any_energy
|
||||
ld hl, wDuelTempList
|
||||
call CountCardsInDuelTempList
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user