You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Merge branch 'master' of https://github.com/pret/pokecrystal
This commit is contained in:
@@ -171,7 +171,7 @@ DetermineContestWinners:
|
||||
ld de, wBugContestTempScore
|
||||
ld hl, wBugContestFirstPlaceScore
|
||||
ld c, 2
|
||||
call StringCmp
|
||||
call CompareBytes
|
||||
jr c, .not_first_place
|
||||
ld hl, wBugContestSecondPlaceWinnerID
|
||||
ld de, wBugContestThirdPlaceWinnerID
|
||||
@@ -189,7 +189,7 @@ DetermineContestWinners:
|
||||
ld de, wBugContestTempScore
|
||||
ld hl, wBugContestSecondPlaceScore
|
||||
ld c, 2
|
||||
call StringCmp
|
||||
call CompareBytes
|
||||
jr c, .not_second_place
|
||||
ld hl, wBugContestSecondPlaceWinnerID
|
||||
ld de, wBugContestThirdPlaceWinnerID
|
||||
@@ -203,7 +203,7 @@ DetermineContestWinners:
|
||||
ld de, wBugContestTempScore
|
||||
ld hl, wBugContestThirdPlaceScore
|
||||
ld c, 2
|
||||
call StringCmp
|
||||
call CompareBytes
|
||||
jr c, .done
|
||||
ld hl, wBugContestThirdPlaceWinnerID
|
||||
call CopyTempContestant
|
||||
|
||||
@@ -124,7 +124,7 @@ AnimateHallOfFame:
|
||||
call PlaceString
|
||||
call WaitBGMap
|
||||
decoord 6, 5
|
||||
ld c, $6
|
||||
ld c, ANIM_MON_HOF
|
||||
predef HOF_AnimateFrontpic
|
||||
ld c, 60
|
||||
call DelayFrames
|
||||
@@ -390,7 +390,7 @@ _HallOfFamePC:
|
||||
call GetSGBLayout
|
||||
call SetPalettes
|
||||
decoord 6, 5
|
||||
ld c, $6
|
||||
ld c, ANIM_MON_HOF
|
||||
predef HOF_AnimateFrontpic
|
||||
and a
|
||||
ret
|
||||
|
||||
@@ -36,7 +36,7 @@ CheckMagikarpLength:
|
||||
ld hl, wMagikarpLength
|
||||
ld de, wBestMagikarpLengthFeet
|
||||
ld c, 2
|
||||
call StringCmp
|
||||
call CompareBytes
|
||||
jr nc, .not_long_enough
|
||||
|
||||
; NEW RECORD!!! Let's save that.
|
||||
|
||||
@@ -478,21 +478,21 @@ PlayerDepositItemMenu:
|
||||
push af
|
||||
ld a, [wBuffer2]
|
||||
push af
|
||||
call .DepositItem_
|
||||
call .DepositItem
|
||||
pop af
|
||||
ld [wBuffer2], a
|
||||
pop af
|
||||
ld [wBuffer1], a
|
||||
ret
|
||||
|
||||
.DepositItem_:
|
||||
.DepositItem:
|
||||
farcall _CheckTossableItem
|
||||
ld a, [wItemAttributeParamBuffer]
|
||||
and a
|
||||
jr z, .AskQuantity
|
||||
ld a, $1
|
||||
ld [wItemQuantityChangeBuffer], a
|
||||
jr .DepositItem
|
||||
jr .ContinueDeposit
|
||||
|
||||
.AskQuantity:
|
||||
ld hl, .HowManyText
|
||||
@@ -504,7 +504,7 @@ PlayerDepositItemMenu:
|
||||
pop af
|
||||
jr c, .DeclinedToDeposit
|
||||
|
||||
.DepositItem:
|
||||
.ContinueDeposit:
|
||||
ld a, [wItemQuantityChangeBuffer]
|
||||
ld [wBuffer1], a
|
||||
ld a, [wCurItemQuantity]
|
||||
|
||||
Reference in New Issue
Block a user