mirror of
https://github.com/pret/pokegold.git
synced 2026-03-21 17:34:16 -05:00
Correct wrong and misleading comments about enemy trainer AI
This commit is contained in:
parent
359d7ae325
commit
83e31d7c07
|
|
@ -1,4 +1,4 @@
|
|||
; AI_SMART prefers these moves during rain.
|
||||
; AI_SMART encourages Rain Dance if it also knows these moves.
|
||||
|
||||
RainDanceMoves:
|
||||
db WATER_GUN
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
; AI_OPPORTUNIST discourages these moves
|
||||
; when the player's HP is low.
|
||||
; when its HP is low.
|
||||
|
||||
StallMoves:
|
||||
db SWORDS_DANCE
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; AI_SMART prefers these moves during harsh sunlight.
|
||||
; AI_SMART encourages Sunny Day if it also knows these moves.
|
||||
|
||||
SunnyDayMoves:
|
||||
; BUG: "Smart" AI does not encourage Solar Beam, Flame Wheel, or Moonlight during Sunny Day (see docs/bugs_and_glitches.md)
|
||||
; BUG: "Smart" AI does not encourage Sunny Day when it knows Solar Beam, Flame Wheel, or Moonlight (see docs/bugs_and_glitches.md)
|
||||
db FIRE_PUNCH
|
||||
db EMBER
|
||||
db FLAMETHROWER
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
; AI_SMART knows these moves are usable all-around.
|
||||
; AI_SMART tries to use Mirror Move, Mimic, and Disable
|
||||
; after the player uses these moves.
|
||||
|
||||
UsefulMoves:
|
||||
db DOUBLE_EDGE
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ AI_Basic:
|
|||
and a
|
||||
jr nz, .discourage
|
||||
|
||||
; Dismiss Safeguard if it's already active.
|
||||
; Dismiss status moves if the player is Safeguarded.
|
||||
ld a, [wPlayerScreens]
|
||||
bit SCREENS_SAFEGUARD, a
|
||||
jr z, .checkmove
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user