Skip to content

Commit

Permalink
v1.04beta1 - added reminder text for when box is full
Browse files Browse the repository at this point in the history
  • Loading branch information
jojobear13 committed Mar 1, 2019
1 parent 9c11c93 commit 7223a04
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ Think of it as what the Nintendo Virtual Console re-release of red & blue might
-----------

- Fixed mistakes and made adjustments to the game text
- When a pkmn is caught and fills the box, a reminder is printed that the box is full
- Man in cinnabar won't mention raichu evolving
- Koga correctly says soul badge increases speed
- Lt. Surge correctly says thunder badge increases defense
Expand Down
10 changes: 10 additions & 0 deletions engine/items/items.asm
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,11 @@ ItemUseBall:
ld hl, ItemUseBallText08
.printTransferredToPCText
call PrintText
;joenote - add reminder that box is now full
ld a, [wNumInBox] ; is box full?
cp MONS_PER_BOX
ld hl, BoxFullReminderTXT
call PrintText
jr .done

.oldManCaughtMon
Expand Down Expand Up @@ -2398,6 +2403,11 @@ BoxFullCannotThrowBallText:
TX_FAR _BoxFullCannotThrowBallText
db "@"

;joenote - add a reminder that the box is full
BoxFullReminderTXT:
TX_FAR _BoxIsFullReminderText
db "@"
ItemUseText00:
TX_FAR _ItemUseText001
TX_LINE
Expand Down
Binary file not shown.
Binary file not shown.
10 changes: 10 additions & 0 deletions text.asm
Original file line number Diff line number Diff line change
Expand Up @@ -2757,6 +2757,16 @@ _BoxIsFullText::
line "a #MON CENTER!"
done

_BoxIsFullReminderText::
text "The #MON BOX"
line "is now full."
cont "It won't hold"
cont "more #MON."

para "Change the BOX at"
line "a #MON CENTER!"
prompt

INCLUDE "text/maps/pallet_town.asm"
INCLUDE "text/maps/viridian_city.asm"
INCLUDE "text/maps/pewter_city.asm"
Expand Down

0 comments on commit 7223a04

Please sign in to comment.