• 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.
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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!
  • 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.

[Scripting Question] Undefined Superclass

ObscneneSoul

Chaoxufurwa
  • 1
    Posts
    7
    Years
    • Seen Jul 27, 2022
    I'm not sure what I did wrong here. I did my best to add some scripts to make some Generation 6 and 7 mechanics work, namely the Display Heal Balls and pretty much all of (sorry, I forgot the name. Maybe it was Raiden?)'s Sun and Moon scripts. For some reason or another, I get the following error whenever I boot up my game, which causes it to crash.


    Script: Pokemon_ShadowPokemon line 723 type Error Occurred
    Undefined Superclass PokeBattle_Move_0EF

    Does someone know how to fix this?
     

    Attachments

    • [PokeCommunity.com] Undefined Superclass
      2018-08-24.png
      9.3 KB · Views: 9
    I assume you're missing the lines of code starting with "class PokeBattle_Move_0EF < PokeBattle_Move" from the PokeBattle_MoveEffects section of the scripts.

    You've probably replaced your move effects with new ones, and if so, your options are to work out how to reintroduce any moves that are needed for shadow Pokémon, or delete the whole Pokemon_ShadowPokemon script (I think you can do this—but I've never tried).
     
    Back
    Top