Help with Gateshark conditions and other formulas

Nojtuag

Well-Known Member
OP
Newcomer
Joined
Jun 1, 2020
Messages
45
Trophies
0
Age
43
XP
215
Country
United States
I need some Gateshark Guru to help with these questions. The code works, but only works at the stage selection screen. If it moves away from this screen then the code no longer works.

Let's play with Kirby Triple Deluxe

Here's the code from the database:
Code:
[99 Lives]
D3000000 10000000
24000088 00000063

Link to the structure

If we look at D3 structure:
0xD3D3000000YYYYYYYYSets the offset to YYYYYYYY


This makes no sense at all. So we're setting the offset which is 24000088 to 10000000 which that should equal to 34000088?

Questions:
1. Besides, this code only triggers if you're at the stage selection where you can walk back between stages. How do we make it so that it stays infinitive regardless which screen you're on?
2. 0xC = Repeat the following block YYYYYYYY times; which value would indicate an infinite loop? 00000000? How would we use it to do the loops?
3. How does the button trigger code works?
0xDDDD000000YYYYYYYYGATEWAY ONLY: Activates with the button code YYYYYYYY


I tried:
[Press A to activate the code]
DD000000 00000001
24000088 00000063

or

DD000000 00000001
D3000000 10000000
24000088 00000063

4. Would it be possible to set a condition to reactivate the codes every 3 seconds since 0xD0 = Ends the last conditional block?
 

Nojtuag

Well-Known Member
OP
Newcomer
Joined
Jun 1, 2020
Messages
45
Trophies
0
Age
43
XP
215
Country
United States
nvm; I think I know how the code works... took me awhile, but I did it :D

[Press A to gain 99 stars each time you collects]

DD000000 00000001 //joker command - press A (Enable this code only if you want to enable button press for the action to happen)

C0000000 FFFFFFFF - //loop how many times; All 'F' means Infinite.

D3000000 10000000 - Increase offset by YYYYYYYYY

25AA5EC0 00000063 - Offsets + value

D0000000 00000000 - Stop loop once once loop value reached (I believe this line can be remove, but I keep it just incase game crashes)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • S @ salazarcosplay:
    hunter x hunter
  • S @ salazarcosplay:
    he has not allowed anyone to continue it for him for example
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, theres a dragon ball af mod for budokai 3
  • Xdqwerty @ Xdqwerty:
    updated ship of harkinian, gonna install some hd texture pack
  • Xdqwerty @ Xdqwerty:
    I might download rayman revolution for my ps3
  • BigOnYa @ BigOnYa:
    I may try the new ram site, and download more RAM to my Switch. Not sure if ddr3 is the right ram
    for it tho. Edit- no it uses floppy Ram, just like @AncientBoi
    +1
  • Xdqwerty @ Xdqwerty:
    aeiou
  • BigOnYa @ BigOnYa:
    And sometimes Z
  • SylverReZ @ SylverReZ:
    @K3Nv2, MAGA supporters be wearing tin foil hats lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, whats maga?
  • BigOnYa @ BigOnYa:
    It stands for Maniacs Against General Acceptance
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, people rejecting general consensus about stuff?
    +1
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
  • NinStar @ NinStar:
    people are so dramatic that I can't even tell if they are being serious
    NinStar @ NinStar: people are so dramatic that I can't even tell if they are being serious