more fixes

This commit is contained in:
May Evans 2022-08-31 15:50:28 +01:00
parent a216a0f2e7
commit c1d2bc7678
11 changed files with 36 additions and 18 deletions

View file

@ -15,7 +15,7 @@ CeladonGameCornerScript_48bcf:
ldh a, [hRandomAdd]
cp $7
jr nc, .asm_48be2
ld a, $8
ld a, $7 ; no longer makes the lucky machine a nonexistent one
.asm_48be2
srl a
srl a

View file

@ -60,7 +60,7 @@ ENDC
CoordsData_6055e:
dbmapcoord 15, 5
dbmapcoord 14, 6
db $0F ; end? (should be $ff?)
db -1 ; fixes coord termination which can have adverse effects
PokemonTower2Script1:
ld a, [wIsInBattle]

View file

@ -77,6 +77,8 @@ PokemonTower7Script4:
ld [wDestinationWarpID], a
ld a, LAVENDER_TOWN
ld [wLastMap], a
ld hl, wd736
set 2, [hl] ; fixes some weirdness when saving fuji - PvK
ld hl, wd72d
set 3, [hl]
ld a, $0

View file

@ -27,7 +27,7 @@ Route8GateScript0:
ld hl, CoordsData_1e22c
call ArePlayerCoordsInArray
ret nc
ld a, PLAYER_DIR_LEFT
ld a, PLAYER_DIR_UP ; fix - PvK
ld [wPlayerMovingDirection], a
xor a
ldh [hJoyHeld], a