Nevermind
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Quote from: stuminator on January 15, 2023, 10:35:40 pmSo it looks like the game uses different offsets in the movement routine than it usually does. 0x10 appears to correspond to movement group 0x93, 0x11 is group 0x94, and 0x12 is group 0x95. So change the first bolded 12 to the group you want, and the second bolded 20 for the ability's position within the group. I tried 0x11 and 0x10 to tie it to Cannot Enter Water and it worked fine.It worked with Any Weather, thank you so much dude! :D :D
Use this version then to change what ability it is tied to. This will stack with whatever the ability's vanilla function is though, unless you know how to disable it.
<Patch name="Move on Lava = Sidestep">
<Description>
Allows units to move through panels occupied by enemy units.
</Description>
<Location file="BATTLE_BIN" offset="10D530">
1200A993
</Location>
<Location file="BATTLE_BIN" offset="10D53C">
20002931
</Location>
<Location file="BATTLE_BIN" offset="10D9C8">
05002015
</Location>
</Patch>
Quote from: RetroTypes on January 13, 2023, 10:55:59 amOh, no I meant the andi two lines prior to where you put yours, but I was mistakenly thinking that it was changing r2 to 1, not to 0x20 if Lavawalking was equipped. I may just leave it the way you did it then! haha thanks for your contributions, btw!So I tried this and it didn't work, do I need to edit some of these values?
Edit: actually upon further inspection, I bet it can still be written to use any RSM, using one additional line of code in a nop a couple lines up. Lemme try it real quick
Edit2:<Patch name="Sidestep">
<Description>Allows units to move through panels occupied by enemy units.</Description>
<Variable name="Sidestep RSM Set" bytes="1" default="95" symbol="true"/>
<Variable name="Sidestep RSM Bit" bytes="1" default="20" symbol="true"/>
<Location file="BATTLE_BIN" offset="174530" offsetMode="RAM" mode="ASM">
lbu r9, %SidestepRSMSet(r29)
andi r2, r2, 0x0028 #Float, Move on Lava check
beq r2, r0, 0x00174548 #Branch if unit doesn't have Float or Move on Lava
andi r9, r9, %SidestepRSMBit
</Location>
<Location file="BATTLE_BIN" offset="1749c8" offsetMode="RAM" mode="ASM">
bne r9, r0, 0x001749e0 #Branch if Sidestep is equipped
</Location>
</Patch>
Quote from: stuminator on January 12, 2023, 06:44:02 pm<Patch name="Any Weather = Sonic Step">
<Description>You can move and still get the 20 bonus CT for not moving</Description>
<Location file="BATTLE_BIN" offset="10D774">
02004010
</Location>
<Location file="BATTLE_BIN" offset="11CC78">
1980013C
CC082324
21384300
21082200
CD082390
FF000234
1D006210
01000234
8601E290
9400E890
19004010
01000234
3900E690
5C00E390
8701E590
8801E490
02000831
2B280501
08006230
2528A200
04006330
5800E290
25186400
01004230
0200A014
25186200
1400C624
03006014
FFFFC230
1400C624
FFFFC230
3D00422C
02004014
01000234
3C000634
3900E6A0
0800E003
8601E0A0
</Location>
</Patch>
This one is pretty easy to tie to any other RSM ability. The Bolded 94 represents the group to search for, and the bolded 02 is the specific ability it's tied to. See the Battle Stats page if you want to change the ability it is tied to: https://ffhacktics.com/wiki/Battle_Stats
So if you wanted to tie it to Move on Lava, change those to 95 and 20.
Changing the "Sidestep" ability would need a few more lines of code added (unless you want to alter how Float works). I chose Move on Lava for this because the game already does a check for it in the movement routine where it determines what panels are walkable. And because Move on Lava is pretty worthless in the vanilla game.
Quote from: stuminator on January 01, 2023, 05:08:59 pmI made a new movement ability to take the place of Move on Lava: Sidestep. It enables a unit to move through panels that are occupied by enemies. Obviously not as useful as teleport or the like but should be helpful as a lower tier movement ability, especially for melee classes. I didn't disable Move on Lava's vanilla function, but it's only useful on one optional map anyway.
<Patch name="Move on Lava = Sidestep">
<Description>
Allows units to move through panels occupied by enemy units.
</Description>
<Location file="BATTLE_BIN" offset="10D53C">
20004930
</Location>
<Location file="BATTLE_BIN" offset="10D9C8">
05002015
</Location>
</Patch>
Quote from: Moz on January 20, 2021, 02:02:10 am1. If you learn Link's Fire Arrow and you have a Long Bow equipped, it does 999 damage to almost all enemies, including Ganondorf. Not sure if this works with the other Arrow abilities Link has, or if it works with other projectile weapons, but it might be something for you to check out.
2. If you try to go to the Option Menu in the World Map, the game crashes.
Page created in 0.018 seconds with 22 queries.