Results 1 to 10 of 10

Thread: Multiple Triggers

  1. #1

    Default Multiple Triggers

    I'm intending to make some co-ordinate modifiers for various games but I want to check this would work.

    94000130 FFFE0000 - Trigger for button A
    94000130 FFBF0000 - Trigger for Up
    XXXXXXX XXXXXXX - Address modifying line(s)
    D2000000 00000000 - Terminate
    94000130 FF7F0000 - Trigger for Down
    XXXXXXX XXXXXXX - Address modifying line(s)
    D2000000 00000000 - Terminate
    D2000000 00000000 - Terminate


    Code:
    Would this mean that whilst A was held the following is true:
    
    If I hold Up then the Address modifying line(s) between trigger(Up) and terminator would take place.
    
    If I hold Down then the Address modifying line(s) between  trigger(Down) and terminator would take place.
    If not could someone explain to me how I could achieve this effect

    Remember to always click the thanks button of those who help you! It makes them feel wanted:

  2. #2
    Chris (Administrator) Vash's Avatar
    Join Date
    Sep 2007
    Location
    Teh Interwebz
    Posts
    1,992
    Blog Entries
    27

    Default Re: Multiple Triggers

    No. There are activators for UP+A or DOWN+A that you have to use. You can only use one trigger at a time, but multiple triggers in a code. You can use d0 or d2 to terminate a trigger.
    Animal Crossing: City Folk
    ACToolkit - NPC_Tool - PattView

  3. #3

    Default Re: Multiple Triggers

    So I could have....
    Code:
    94000130 FFBE0000
    XXXXXXXX XXXXXXXX
    D2000000 00000000
    94000130 FF7E0000
    XXXXXXXX XXXXXXXX
    D2000000 00000000
    ?

    Remember to always click the thanks button of those who help you! It makes them feel wanted:

  4. #4
    Chris (Administrator) Vash's Avatar
    Join Date
    Sep 2007
    Location
    Teh Interwebz
    Posts
    1,992
    Blog Entries
    27

    Default Re: Multiple Triggers

    Yes, but if you don't want to clear the offset register you can use d0 in between instead and it might shorten the code.
    Animal Crossing: City Folk
    ACToolkit - NPC_Tool - PattView

  5. #5

    Default Re: Multiple Triggers

    Well I am starting a co-ord modifier for Pearl. I'm thinking If i change the co-ordinates once each search in the same direction. I can find the adress?

    Remember to always click the thanks button of those who help you! It makes them feel wanted:

  6. #6
    Chris (Administrator) Vash's Avatar
    Join Date
    Sep 2007
    Location
    Teh Interwebz
    Posts
    1,992
    Blog Entries
    27

    Default Re: Multiple Triggers

    That code was already made by FNG.

    EDIT: Well, he says he made it. He probably stole it from a better hacker and put it on codejunkies.
    Animal Crossing: City Folk
    ACToolkit - NPC_Tool - PattView

  7. #7

    Default Re: Multiple Triggers

    I know but theres no harm in making the code myself to get better at making codes.

    Remember to always click the thanks button of those who help you! It makes them feel wanted:

  8. #8
    Chris (Administrator) Vash's Avatar
    Join Date
    Sep 2007
    Location
    Teh Interwebz
    Posts
    1,992
    Blog Entries
    27

    Default Re: Multiple Triggers

    I guess so. Usually the coordinates are pointers. In that case, we don't have a tutorial on the wiki for you yet. If you find they are and you need help, I'm sure somebody will be kind enough to help you (not me). I'll be playing brawl...lol
    Animal Crossing: City Folk
    ACToolkit - NPC_Tool - PattView

  9. #9

    Default Re: Multiple Triggers

    Oh yeh grats on getting a copy. Its not even out in EU :cry:

    Remember to always click the thanks button of those who help you! It makes them feel wanted:

  10. #10
    J.P. (Global Moderator) Maniac's Avatar
    Join Date
    Sep 2007
    Location
    Ohio, USA
    Posts
    2,083
    Blog Entries
    5

    Default Re: Multiple Triggers

    Me niether, I'm playing brawl too.

    Say what you mean, mean what you say, and let your actions speak for you.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •