This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
tA
/
testingAnimation
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
moving sprite, still ugly
master
Thorn Avery
4 years ago
parent
aa5b06312e
commit
58bd0c46ff
2 changed files
with
5 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/entry.asm
+4
-4
src/misc.asm
+ 1
- 0
src/entry.asm
View File
@@ -46,6 +46,7 @@ Start:
game_loop:
call Wait_VBlank
call Read_Pad
call PC_Update
call Clear_OAM
ld de, wShadowOAM
ld hl, Player
+ 4
- 4
src/misc.asm
View File
@@ -124,12 +124,12 @@ PC_Update:
jr nz, .last
ld c, 1
.last:
ld a, [
r
PlayerX]
ld a, [Player
_
X
Pos
]
add c
ld [
r
PlayerX], a
ld a, [
r
PlayerY]
ld [Player
_
X
Pos
], a
ld a, [Player
_
Y
Pos
]
add b
ld [
r
PlayerY], a
ld [Player
_
Y
Pos
], a
.end:
ret
Write
Preview
Loading…
Cancel
Save