• 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!
  • Cyndy, May, Hero (Conquest), or Wes - which Pokémon protagonist is your favorite? Let us know by voting in our 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.

[ASM & Hex] Object Structure

  • 2
    Posts
    7
    Years
    • Seen Jul 12, 2019
    I have a some questions about the objects structure in FR.
    First of all, the callback functions stored in the obj structure are just functions called every frame related to the object or are something more?
    I tested some of them, the surf bubble one is just responsible for making the up-down movement of the sprite and nothing more, the player one is responsible to check the button press for movment, etc.
    Other thing that I want to ask is about the template structure, some routines like the showpokemon one creates the template structure in the RAM for after building the hole object structure, the question that I have is: the template needs to stay there until the objects be deleted?
    For example, if I change the template pointer in the object structure to FF FF FF FF how this will affect the object after it is already builded?
    For the last, what is the difference in usage and results between "template_instanciate_forward_search" and "template_instanciate_reverse_search"?
    Thanks for giving your time to help.
     
    Back
    Top