• 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!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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.

Please help me with my ghetto noob spaghetti code - adding a 152nd pokemon in classic blue

  • 3
    Posts
    3
    Years
    • Seen Mar 14, 2022
    When I cleaned up old pkmn indexes and added a 152nd pokemon, the game compiles and runs fine, but when I reference the 152nd in any way, the stats are wrong, typing is wrong, and sprite is broken.

    This is my very first project and I crashcoursed assembly in like 4 days so it's likely super easy to troubleshoot but I just cannot figure it out. Attached is source code.
     

    Attachments

    • pkmn.zip
      19.3 MB · Views: 1
    When I cleaned up old pkmn indexes and added a 152nd pokemon, the game compiles and runs fine, but when I reference the 152nd in any way, the stats are wrong, typing is wrong, and sprite is broken.

    This is my very first project and I crashcoursed assembly in like 4 days so it's likely super easy to troubleshoot but I just cannot figure it out. Attached is source code.

    I'm not sure what your issue is but have you tried following the tutorial on pokered's wiki?
     
    I have, and have attached the source code so it can be compiled, and the debug rom ran in an emulator to view what happens the the 152nd pokedex entry. The sprite comes in incorrectly, 3 different cries play and then the noise channel (channel 8) starts playing the drum beat to some song and loops, preventing pokedex text from reading out.

    Use case : Compile code, run debug rom in debug mode (I used 010332d7 as a 'cheat' in bgb to enable this), start new game, look at pokedex, go to entry 152 and see what happens.

    The code currently points to the kabutops_fossil sprite, but I had imported the classic missingno stair-step sprite - both are not displaying correctly when either is pointed to. I've tried various code implementations, but I just cannot get any sprite to display correctly, or any cry to play correctly.

    EDIT --

    I did not move Mew's data from Bank 1 - I will try that and get back.
     
    Last edited:
    Back
    Top