This commit is contained in:
@@ -363,9 +363,8 @@ _HallOfFamePC:
|
||||
call ClearBGPalettes
|
||||
pop hl
|
||||
call DisplayHOFMon
|
||||
; BUG: A "HOF Master!" title for 200-Time Famers is defined but inaccessible (see docs/bugs_and_glitches.md)
|
||||
ld a, [wHallOfFameTempWinCount]
|
||||
cp HOF_MASTER_COUNT + 1
|
||||
cp HOF_MASTER_COUNT
|
||||
jr c, .print_num_hof
|
||||
ld de, .HOFMaster
|
||||
hlcoord 1, 2
|
||||
|
@@ -278,11 +278,9 @@ CalcMagikarpLength:
|
||||
ret
|
||||
|
||||
.BCLessThanDE:
|
||||
; BUG: Magikarp lengths can be miscalculated (see docs/bugs_and_glitches.md)
|
||||
ld a, b
|
||||
cp d
|
||||
ret c
|
||||
ret nc
|
||||
ld a, c
|
||||
cp e
|
||||
ret
|
||||
|
@@ -400,7 +400,6 @@ SurfFromMenuScript:
|
||||
special UpdateTimePals
|
||||
|
||||
UsedSurfScript:
|
||||
; BUG: Surfing directly across a map connection does not load the new map (see docs/bugs_and_glitches.md)
|
||||
writetext UsedSurfText ; "used SURF!"
|
||||
waitbutton
|
||||
closetext
|
||||
@@ -412,9 +411,7 @@ UsedSurfScript:
|
||||
|
||||
special UpdatePlayerSprite
|
||||
special PlayMapMusic
|
||||
; step into the water (slow_step DIR, step_end)
|
||||
special SurfStartStep
|
||||
applymovement PLAYER, wMovementBuffer
|
||||
end
|
||||
|
||||
.stubbed_fn
|
||||
@@ -1442,7 +1439,6 @@ FishFunction:
|
||||
dw .FishNoFish
|
||||
|
||||
.TryFish:
|
||||
; BUG: You can fish on top of NPCs (see docs/bugs_and_glitches.md)
|
||||
ld a, [wPlayerState]
|
||||
cp PLAYER_SURF
|
||||
jr z, .fail
|
||||
@@ -1451,7 +1447,9 @@ FishFunction:
|
||||
call GetFacingTileCoord
|
||||
call GetTilePermission
|
||||
cp WATER_TILE
|
||||
jr z, .facingwater
|
||||
jr nz, .fail
|
||||
farcall CheckFacingObject
|
||||
jr nc, .facingwater
|
||||
.fail
|
||||
ld a, $3
|
||||
ret
|
||||
|
Reference in New Issue
Block a user