initial checkin

This commit is contained in:
Karkat
2017-05-17 13:00:32 -04:00
parent 81b12bde40
commit f755a63925
78 changed files with 11500 additions and 21 deletions

16
glitched.asm Normal file
View File

@@ -0,0 +1,16 @@
;================================================================================
; Glitched Mode Fixes
;================================================================================
GetAgahnimType:
PHP
REP #$20 ; set 16-bit accumulator
LDA $A0 ; these are all decimal because i got them that way
CMP.w #13 : BNE + ; Agahnim 2 room
LDA.w #$0006 ; Use Agahnim 2
BRA .done
+ ; Elsewhere
LDA.w #$0001 ; Use Agahnim 1
.done
PLP
RTL
;--------------------------------------------------------------------------------