• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Script] [pokecrystal] STRENGTH item: Triggering ".already_using" when using "POWERSUIT" from the BAG

McPaul

On my way to become a controversial and hated memb
  • 289
    Posts
    7
    Years
    Hello!

    I'm hacking pokecrystal and replacing all the HMs by items with some tweaks. Currently I need my STRENGTH item POWERSUIT to trigger .already_using and .AlreadyUsingStrengthText when used from the BAG and already active.

    Here is the current code:

    Spoiler:


    I tried various versions with checking this flag:

    ld hl, wBikeFlags
    bit BIKEFLAGS_STRENGTH_ACTIVE_F, [hl]

    But at best it does nothing and I can use the item infinitely and at worst I get the only for Game Boy Color Screen glitch.

    Maybe can someone help me please? Thanks a lot in advance!
     
    Back
    Top