Last active
January 2, 2017 23:57
-
-
Save undergroundmonorail/41a4b35f28eeb68a8815bba4baeca9df to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| X Accuracy x98 | |
| Dire Hit x70 | |
| Thunderstone x47 | |
| TM11 x34 | |
| HP Up x112 | |
| TM01 xAny | |
| ld l,$62 ; hl points at D362, player's x coord | |
| ld a,(hl-) ; x coord stored in a, hl decremented to D361 (y coord) | |
| ld b,(hl) ; y coord stored in b | |
| ld hl,$2fd3 ; hl points at D32F, quantity of item 9 | |
| ld (hl+),a ; x coord stored in item 9's quantity, hl intremented to D330 (item 10) | |
| inc hl ; hl incremented to D331 (quantity of item 10) | |
| ld (hl),b ; y coord stored in item 10's quantity | |
| ret ; return to game code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment