-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from Shidesu/master
Overwritting the Lock Touch Vanilla routine to make it flexible and w…
- Loading branch information
Showing
6 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.thumb | ||
|
||
.equ LockTouchID, SkillTester+4 | ||
|
||
@Check for TouchLock Skill | ||
|
||
push {r2} @The vanilla routine we jump back to needs this value | ||
|
||
ldr r0, SkillTester | ||
mov lr, r0 | ||
mov r0, r2 | ||
ldr r1, LockTouchID | ||
|
||
.short 0xf800 | ||
|
||
cmp r0, #0 | ||
beq NoPickSkill | ||
mov r2, r5 | ||
|
||
pop {r2} | ||
|
||
ldr r3, PickSkillBranch | ||
bx r3 | ||
|
||
NoPickSkill: | ||
pop {r2} | ||
ldr r3, NoPickSkillBranch | ||
bx r3 | ||
|
||
.align | ||
|
||
PickSkillBranch: | ||
.long 0x8023E9D | ||
|
||
NoPickSkillBranch: | ||
.long 0x8023E95 | ||
|
||
.ltorg | ||
|
||
SkillTester: | ||
@POIN SkillTester | ||
@WORD LockTouchID |
13 changes: 13 additions & 0 deletions
13
Engine Hacks/Skill System/Kao Skills/Standalone version/Installer.event
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#include "Extensions/Hack Installation.txt" | ||
PUSH | ||
ORG $8023E8C | ||
jumpToHack(HackLocation) | ||
POP | ||
|
||
HackLocation: | ||
#incbin "doubleRogueSkillFE8.dmp" | ||
|
||
POIN ClassTable | ||
|
||
ClassTable: | ||
BYTE 0x33 0x5E 0x00 |
38 changes: 38 additions & 0 deletions
38
Engine Hacks/Skill System/Kao Skills/Standalone version/doubleRogueSkillFE8.asm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
.thumb | ||
|
||
.equ LockTouchID, SkillTester+4 | ||
|
||
@Check for TouchLock Skill | ||
|
||
|
||
push {r3, r4} | ||
mov r3, #0x00 | ||
Loop: | ||
ldr r4, ClassList | ||
ldrb r4, [r4, r3] | ||
cmp r4, #0x00 | ||
beq NoPickSkill | ||
cmp r4, r0 | ||
bne NextIteration | ||
b PickSkill | ||
|
||
NoPickSkill: | ||
pop {r3, r4} | ||
ldr r3, NoPickSkillBranch | ||
bx r3 | ||
PickSkill: | ||
pop {r3, r4} | ||
ldr r3, PickSkillBranch | ||
bx r3 | ||
NextIteration: | ||
add r3, #0x01 | ||
b Loop | ||
|
||
.align | ||
PickSkillBranch: | ||
.long 0x8023E9D | ||
NoPickSkillBranch: | ||
.long 0x8023E95 | ||
.ltorg | ||
ClassList: | ||
@list of the classes you give access to PickSkill |
Binary file added
BIN
+48 Bytes
Engine Hacks/Skill System/Kao Skills/Standalone version/doubleRogueSkillFE8.dmp
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters