• 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] Help with Move Tutor Script

  • 4
    Posts
    3
    Years
    • Seen Jul 20, 2023
    Hi guys, i'm a little in trouble with a script.

    I wanted to expand the number of Tutor Moves, and now i've got 121 (i've repointed the Moves Table, Compatibility Table and the two list of the two Old Ladies at the Battle Frontier, through HMA).
    I've also repointed and expanded the Multichoice Scrolling Table and the two Old Ladies Description Table (the first multichoice has 42 move names + Exit, so this filled 3 rows (3 indexes), anche the second mutichoice has 79 move names + Exit, so this filled 5 rows (5 indexes)).

    Up to here everything works.

    I read here https://www.pokecommunity.com/posts/9171350/ that i have to repoint a Jumptable at 0x0813A168 and to change the total amount of inserted routines. Now i have this (See Jumptable).

    After modifying some parameters of the routine, this is what i got as the 0xD pointer:

    --------------------
    06 20 18 81 2B 20 58 81 11 20 98 81 01 20 D8 81 09 20 18 82 0C 20 58 82 00 20 98 82 DC 84 10 BC 01 BC 00 47
    --------------------

    I wrote a simple script copied from the Old Lady's original script (left), using 0xD. This is the script:

    --------------------
    #freespace 0xFF
    #dynamic 0xE5D200
    #org @start
    lock
    faceplayer
    msgbox @1 MSG_KEEPOPEN
    preparemsg @2
    waitmsg
    setvar 0x8004 0xD
    special 0x1BE
    waitstate
    special 0x1DB
    msgbox @3 MSG_KEEPOPEN
    release
    end

    #org @1
    = Hi!

    #org @2
    = Looke here!

    #org @3
    = Good bye!
    --------------------

    But when i try to speak to her, the final the is buggy (See Screen4). What's wrong? And why the description box doesn't pop up?
     

    Attachments

    • [PokeCommunity.com] Help with Move Tutor Script
      Screen1.png
      4.1 KB · Views: 3
    • [PokeCommunity.com] Help with Move Tutor Script
      Screen2.png
      4.2 KB · Views: 3
    • [PokeCommunity.com] Help with Move Tutor Script
      Screen3.png
      4.2 KB · Views: 3
    • [PokeCommunity.com] Help with Move Tutor Script
      Screen4.png
      4.7 KB · Views: 3
    • [PokeCommunity.com] Help with Move Tutor Script
      Jumptable.PNG
      12.8 KB · Views: 4
    Back
    Top