Nun hab ich zwei andere Probleme:
Ich hab den Disable-Throwing-Items-Upwards-Patch angewendet und möchte den deaktivieren/rückgängig machen. Was muss ich dazu tun?
Falls das wichtig ist, hier der Code:
;By: Chdata & Fakescaper
!FreeSpace = $55F904
!UpFlag = $7C ;If non-zero, disable throwing items upwards
header
lorom
org $A21F
JML Main
org !FreeSpace ;
db "STAR" ;
;dw End-Main
;dw End-Main~ ;Yes this does the same exact thing as ^#$FFFF
dw End-Main-1 ;smkdan note: the above does not work, see hex editor for what really happens
dw End-Main-1^-1
Main: ;Start of Patch
PHA ;Code Preservation
;LDA !UpFlag ;If freeram flag is not set ;COMMENT THESE TWO LINES
;BEQ .NotCarry ;Skip throwing an item upwards disabling ;IF YOU JUST WANT THIS TO BE GLOBAL
LDA $1470 ;Carrying an item flag
BEQ .NotCarry ;If zero you aren't carrying anything so don't disable pressing the up arrow
.DisableUp ;Disable throwing items upward code below
REP #$20 ;16-bit A
;LDA $15 ;Load controller data
LDA #$0808 ;NOT!!!
TRB $15 ;Remove pressing up
SEP #$20 ;8-bit A
.NotCarry ;Label
PLA ;Code Preserved
BEQ CODE_00A242 ;Code
LDA $1493 ;Restoration
JML $00A224 ;Return
CODE_00A242: ;Label
JML $00A242 ;Return #2
End: ;End of Patch
print "I'm psychic, I knew that you would patch this."
print "-Chdata-"
Zweites Problem:
Ich habe in meinen Hack Bullet Bill (Sprite 1C) als Custom Sprite eingefügt und ihm eine andere Tilemap gegeben. Es wird auch das neue Tile angezeigt, wenn Bullet Bill abgeschossen wird. Aber sobald ich draufspringe und Bullet Bill tot runterfliegt, wird das alte Tile von Bullet Bill angezeigt. Wie kann ich das ändern? Hier die Einstellungen in der asm-Datei:
db $C8,$C8,$C8,$C8
TileProperties:
db $42,$02,$03,$83,$03,$43,$03,$43
Frames:
db $00,$00,$01,$01,$02,$03,$03,$02
XSpeed:
db $20,$E0,$00,$00,$18,$18,$E8,$E8
YSpeed:
db $00,$00,$E0,$20,$E8,$18,$18,$E8
C8 ist das Tile, was angezeigt werden soll. Hat das falsche Tile beim toten Bullet Bill etwas mit den Frames zu tun?






