File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -266,10 +266,10 @@ RLEList_PewterGymGuy:
266266 db NPC_MOVEMENT_RIGHT , 3
267267 db - 1 ; end
268268
269- FreezeEnemyTrainerSprite ::
269+ SetEnemyTrainerToStayAndFaceAnyDirection ::
270270 ld a , [ wCurMap ]
271271 cp POKEMON_TOWER_7F
272- ret z ; the Rockets on Pokemon Tower 7F leave after battling, so don't freeze them
272+ ret z ; the Rockets on Pokemon Tower 7F leave after battling, so don't set them
273273 ld hl , RivalIDs
274274 ld a , [ wEngagedTrainerClass ]
275275 ld b , a
@@ -278,7 +278,7 @@ FreezeEnemyTrainerSprite::
278278 cp - 1
279279 jr z , .notRival
280280 cp b
281- ret z ; the rival leaves after battling, so don't freeze him
281+ ret z ; the rival leaves after battling, so don't set him
282282 jr . loop
283283.notRival
284284 ld a , [ wSpriteIndex ]
Original file line number Diff line number Diff line change @@ -219,9 +219,9 @@ SetSpriteMovementBytesToFE::
219219SetSpriteMovementBytesToFF::
220220 push hl
221221 call GetSpriteMovementByte1Pointer
222- ld [ hl ], $ FF
222+ ld [ hl ], STAY
223223 call GetSpriteMovementByte2Pointer
224- ld [ hl ], $ FF ; prevent person from walking?
224+ ld [ hl ], NONE
225225 pop hl
226226 ret
227227
Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ PrintEndBattleText::
358358 pop af
359359 ldh [ hLoadedROMBank ], a
360360 ld [ MBC1RomBank ], a
361- farcall FreezeEnemyTrainerSprite
361+ farcall SetEnemyTrainerToStayAndFaceAnyDirection
362362 jp WaitForSoundToFinish
363363
364364GetSavedEndBattleTextPointer::
You can’t perform that action at this time.
0 commit comments