Giter Site home page Giter Site logo

Comments (3)

dannye avatar dannye commented on July 27, 2024

Interesting bug. Thanks for pointing it out.

from pokered-gbc.

xCrystal avatar xCrystal commented on July 27, 2024

The recent update has brought back this bug (it was originally fixed in 1531f6b). When the last unit of an item is used, wCurrentMenuItem is set back to 0, causing healing items to animate the first Pokemon's palette always. The bug was reintroduced in 83f6d5e. To fix, replace the two wCurrentMenuItem reads in DrawHPBarWithColor with wLastMenuItem.

I'm going through all the commits to port some things to my own hack (I'm mostly interested in low level engine changes than data changes but that's another story). The point is, if I notice anything else I'll point it out as well, but it could obviously be related to my own hack changes as well. I assume this particular bug is a thing in the clean color hack too since it used to be a bug for the same reasons.

For example, I think in was bfd0d7a which introduced a bug in my own version when sending a player Pokemon into battle (it was an issue with the bank not being restored properly but I didn't look further into it, since I had patched the pokemart corruption glitch with another far less clean solution that didn't involve clearing the di/ei block, so I just went back to it instead). I'm not sure if it could be due to interrupts timing in DelayFrameHook and/or if it's a thing in the clean color hack at all and it was fixed in a latter commit.

from pokered-gbc.

dannye avatar dannye commented on July 27, 2024

dang it. forgot to come back to this and no one else has reported it for 5 years lol but confirmed it is still happening.

from pokered-gbc.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.