Gen 5 Repel system

Also used in PureRGB. Gives the player the option to use another Repel after the last one runs out.

I had to remove some debug features in order to fit it in, but it won't have an effect on the regular game. Hopefully.
This commit is contained in:
Martha Schilling 2024-04-15 13:01:52 +01:00
parent 2d24f19ba6
commit f675c1ad9b
8 changed files with 68 additions and 14 deletions

View file

@ -39,6 +39,7 @@ PredefPointers::
add_predef LearnMoveFromLevelUp
add_predef LearnMove
add_predef GetQuantityOfItemInBag
add_predef GetIndexOfItemInBag
add_predef CheckForHiddenObjectOrBookshelfOrCardKeyDoor, $03 ; home bank
add_predef GiveItem, $03 ; home bank
add_predef ChangeBGPalColor0_4Frames

View file

@ -20,6 +20,10 @@ _PlayerBlackedOutText::
_RepelWoreOffText::
text "REPEL's effect"
line "wore off."
prompt
_RepelUseAnotherText::
text "Use another?"
done
_PokemartBuyingGreetingText::