• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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