Announcement

Collapse
No announcement yet.

Please help with Super Mario Kart Code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Please help with Super Mario Kart Code

    Hi I'm trying to make a code to make it harder to get 1st place. All I want to do is make this address 7E13EB which is for the 3nd Computers speed to always be increased by 1 so if one normally becomes two if two three if three four. I don't want to freeze the address because the computer wont be going fast enough to make some jumps. This is the
    code I made please help if you can. I tried to make the code so when time is not Equal to zero, Time address 7E0102,
    increase this address by one 7E13EB so what ever value it would normally be on would always be 1 higher.

    80E88F:22
    80E890:01
    80E891:00
    80E892:c8
    c80001:4A
    c80002:4A
    c80003:4A
    c80004:48
    c80005:AF
    c80006:02
    c80007:01
    c80008:7E
    c80009:C9
    c8000A:00
    c8000B:F0
    c8000C:06
    c8000D:1A
    c8000E:01
    c8000F:8f
    c80010:EB
    c80011:13
    c80012:7E
    c80013:68
    c80014:6B
    Last edited by xxphillips; 10-31-2013, 02:16:27 PM.

  • #2
    Explain the ASM you have or want to be executed plus where are you hooking your jump to the new routine? Also where is the free memory location that will hold your routine?
    Spoiler Alert! Click to view...

    THE BAD GUY!!!!!!

    Comment


    • #3
      80E88F:22 JSL Control pad break point
      80E890:E5
      80E891:FF
      80E892:FF jumps to our custom routine
      FFFFE5:4A
      FFFFE6:4A LSR
      FFFFE7:4A
      FFFFE8:4A LSR
      FFFFE9:48 stores the current value of A to stack PHA
      FFFFEA:AF LDA
      FFFFEB:02
      FFFFEC:01
      FFFFED:7E address for time
      FFFFEE:C9 CMP
      FFFFEF:00 compares time to zero
      FFFFF0:F0
      FFFFF1:06 If It's equal to zero jump to address FFFFF8 or load next line if not
      FFFFF2:1A INC A INCrease A
      FFFFF3:01 By 1
      FFFFF4:8f STA long Store Accumulator to Memory
      FFFFF5:EB
      FFFFF6:13
      FFFFF7:7E 3nd Computers speed address
      FFFFF8:68 PLA Pull Original Value from stack to Accumulator
      FFFFF9:6B RTL Return from Subroutine Long

      Ok Helder I'm trying to make the 3nd computers speed one higher then normal all the time when time is not zero. My friend I hope you're well. take care
      Last edited by xxphillips; 11-04-2013, 02:37:09 PM.

      Comment


      • #4
        This is one of the codes I made to make it harder to get 1st place

        81B9A822 22=JSL jumps to address C09300
        81B9A900
        81B9AA93
        81B9ABC0 C09300 free space in rom
        C093004A
        C093014A all this
        C093024A
        C093034A part 4A=LSR puts back what was replaced
        C0930448 48=PHA stores the Accumulator value to stack
        C09305AF AF=LDA load to Accumulator address
        C09306E6
        C0930713
        C093087E 7e13e6, address for 3nd computer position
        C09309C9 C9=CMP compares what is in Accumulator
        C0930A00 to zero
        C0930BF0 F0=BEQ jump to address C09313
        C0930C06 if address 7e13e6 value is equel to zero if not load next line
        C0930DA9 A9=LDA load in to
        C0930E04 Accumulator four
        C0930F8F 8f=STA Store Accumulator value to
        C09310EB
        C0931113 address 7e13eb for 3nd computer speed
        C093127E
        C0931368 68=PLA Pull Accumulator/ Restore the Original Value of Accumlator Back from Stack
        C093146B 6b=RTL Return from Subroutine Long/Return to where we jumped from

        May have small graphic glitches


        Thank you Helder for helping me learn to make this type of code

        Comment

        Working...
        X