Merge pull request #32 from thornAvery/master

fixed battle tent rewards
This commit is contained in:
Martha Schilling 2023-12-29 22:26:37 +00:00 committed by GitHub
commit 3b3b95d41f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -615,6 +615,7 @@ BattleTentGuy_After:
call PrintText call PrintText
ld a, [wBTRewards] ld a, [wBTRewards]
ld b, RARE_CANDY ld b, RARE_CANDY
ld c, a
call GiveItem call GiveItem
jr nc, .bag_full ; could use money instead here jr nc, .bag_full ; could use money instead here
ld hl, ReceivedRewardText ld hl, ReceivedRewardText
@ -626,6 +627,7 @@ BattleTentGuy_After:
ld [wBTRewards], a ld [wBTRewards], a
;ld b, POWER_FEED ;ld b, POWER_FEED
ld b, BOTTLE_CAP ld b, BOTTLE_CAP
ld c, a
call GiveItem call GiveItem
jr nc, .bag_full jr nc, .bag_full
ld hl, ReceivedRewardText ld hl, ReceivedRewardText
@ -889,7 +891,7 @@ BattleTentGuy2_Heal:
done done
ReceivedRewardPreamble: ReceivedRewardPreamble:
text "Take these" text "Take these,"
line "on the house!" line "on the house!"
prompt prompt
text_end text_end