Login
Back to forumSee the full topicGo to last reply

Posted By

Prime_Suspect
on 2013-03-19
13:27:57
 Re: Unreleased games

I thought i'd post since you guys seems excited about the hunchback ports
One thing that will have to be done is a reverse engineer of an exiting game close to hunchback
For hunchback 1 i decided to look at punchy
The jumping code for punchy works like so (look below)
This will work with modifications for hunchback 1 but it definitely will not work for hunchback 2
I will most likely have to reverse engineer two games punchy and fingers malone



punchyjump_cont2:
dec _jump_index
bmi adjustjump_state
rts
adjustjump_state:
dec _jumpstate
rts


init_punchyjump:
ldy #1
sty _punchy_jumpstate
ldy #21
sty _jump_index
rts
punchy_jumping:
ldy _jump_index
clc
lda jump_tbl,y
adc _punchy.y
sta punchy.y
inc $1a ;not sure yet
jmp punchyjump_cont

punchyjump_cont:
jsr update_softsprites
jsr jump_fx
jmp punchyjump_cont2

jump_tbl
//gravity_tbl
$1858
.byte $02
.byte $02
.byte $02
.byte $02
.byte $02
.byte $02
.byte $01
.byte $01
.byte $01
.byte $01
.byte $00
.byte $00
//jump_forcetbl
.byte $ff
.byte $ff
.byte $ff
.byte $ff
.byte $fe
.byte $fe
.byte $fe
.byte $fe
.byte $fe
.byte $fe



Back to top


Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon