You are not logged in.
I recently discovered in a Gen 3 hack that it is possible to change revives, max revives, and revival herbs (we'll call these three items "revives" for space) to where they only work OUTSIDE of battle, but never DURING battle.
Player selects revive
"You can't use this item now"
Player selects revive
"Use on which pokemon?"
Player selects pokemon (that is fainted)
Pokemon restored health.
Now I know what I'm asking may be a bit much, but is there a way to make it so in Gen 1 AND 2, the revives are changed from items that work in battle and outside of battle, into items that ONLY work outside of battle and NEVER in battle, like a gym leader for example?
If it could be done with something like a jiggly puff asm editor, where and what would I have to change in the codes for blue and crystal, without damaging the game?
It would be an interesting idea, and thanks for taking some time on reading this.
The last byte of an item's attributes (Crystal: 0x67c1) reflects where (and in what menu) it can be used
The top nybble is how it works in the overworld. The bottom nybble is how it works in battle.
0: Can't use
4: Stay in the item menu (i.e. Coin Case).
5: Go to the party menu (Revive).
6: Close the item menu entirely (Bicycle, Poke Ball).
1-3 (and 7-f) are unused.
; REVIVE dw 1500 ; price db NONE ; effect db 0 ; param db CANT_SELECT db ITEM db $55 ; heal menu
Change $55 to $50 to prevent use in battle.
Yeah, it's very easy as comet showed. I've done it in my hack. It won't show a message like "You can't use this item now" though, but the only option you will see when attempting to use the item in battle is QUIT.
Yeah it works very well. The illustration was from the gen 3 hack. Could the same be done for revives in red/blue/yellow?
Or would there have to be repointing from "using medicine" to "using vitamin"?
Could the same be done for revives in red/blue/yellow?
Make Revive (https://github.com/iimarckus/pokered/bl … ms.asm#L71) point to ItemUseVitamin (https://github.com/iimarckus/pokered/bl … s.asm#L668). Notice how ItemUseVitamin falls through to ItemUseMedicine while not in battle. By making this change Revive's "permission" will become like Protein's or any other vitamin's.
Both modifications have successfully worked in both blue and crystal. Thank you both for your aid.