Skip to content

Commit

Permalink
fixed grant knockback glitch (us)
Browse files Browse the repository at this point in the history
  • Loading branch information
nstbayless committed Jul 30, 2024
1 parent 5ffb4a5 commit d40c4de
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 8 deletions.
7 changes: 3 additions & 4 deletions _custom_knockback.asm
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ _custom_knockback:
LDA #8 ; jumping
STA simon_state
LDA $49
BEQ custom_knockback_moving_upward
LDA $48
CMP #$02
LDA current_player
cmp #$02 ; grant
BNE custom_knockback_moving_upward
grant_version:
LDA #$38
STA vsp_control
LDA #$16
Expand Down
Binary file modified out-jp.ips
Binary file not shown.
Binary file modified out-us.ips
Binary file not shown.
9 changes: 7 additions & 2 deletions pkg_readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ Source code and build instructions available [here](https://github.com/nstbayles

Some of these are optional, and depend on the specific patch.

- Enables all characters to control their x-velocity in mid-air while jumping (including while jump attacking); Grant’s jumping controls remain unchanged.
- (Optional) When releasing the jump button, one immediately starts falling again; this allows the player to make smaller hops if desired. (Does not apply to Grant.)
- Enables all characters to control their x-velocity in mid-air while jumping (including while jump attacking)
- (Optional) When releasing the jump button, one immediately starts falling again; this allows the player to make smaller hops if desired.
- apply `vcancel` hack for this (Recommended).
- After being knocked back, the player regains control after a split second and can angle their fall.
- When walking off an edge, the player retains control instead of dropping straight down.
- All characters can jump off of stairs at any point in the climb (however, it is still impossible to land on stairs, so be careful jumping from long flights of stairs over pits)

Note that Grant's controls remain mostly unaltered.

## Compatability

This hack is comaptible with both the US and JP versions of *Castlevania III*. Additionally, it is compatible with the following hacks:
Expand Down Expand Up @@ -49,8 +51,11 @@ Tools:
`fceux` and `asm6f`

Special thanks:
Theou Aegis
revility
OmegaJP
vinheim3


## ROM information

Expand Down
8 changes: 7 additions & 1 deletion ram-jp.asm
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,17 @@ BASE $0008:
BASE $0048
partner:
BASE $0049
partner_swap:
BASE $780
cutscene_timer:
BASE $783
cutscene_input:
BASE $007B:
time_lo:
time_lo:
BASE $054E:
current_player:
8 changes: 7 additions & 1 deletion ram-us.asm
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ BASE $0028:

BASE $003A
partner:
BASE $003B
partner_swap:

BASE $0565:
simon_state:
Expand Down Expand Up @@ -57,4 +60,7 @@ BASE $783
cutscene_input:
BASE $05C1:
simon_fall_objphase:
simon_fall_objphase:
BASE $054E:
current_player:

0 comments on commit d40c4de

Please sign in to comment.