shithub: pokecrystal

Download patch

ref: 28e223d9889f046f0316f5f61c463caf88a212ce
parent: 45083625ee45b4bd71f1f940eae4bf73c3bb4654
author: Lynn "Zhorken" Vaughan <[email protected]>
date: Mon May 14 17:57:00 EDT 2012

Spaces to tabs.

--- a/main.asm
+++ b/main.asm
@@ -27,19 +27,19 @@
 SwapBytes: ; 0x3034
 ; swap bc bytes between hl and de
 .Loop
-        ; stash [hl] away on the stack
+	; stash [hl] away on the stack
 	ld a, [hl]
 	push af
 
-        ; copy a byte from [de] to [hl]
+	; copy a byte from [de] to [hl]
 	ld a, [de]
 	ld [hli], a
 
-        ; retrieve the previous value of [hl]; put it in [de]
+	; retrieve the previous value of [hl]; put it in [de]
 	pop af
 	ld [de], a
 
-        ; handle loop stuff
+	; handle loop stuff
 	inc de
 	dec bc
 	ld a, b
@@ -84,7 +84,7 @@
 
 GetFarHalfword: ; 0x305d
 ; retrieve a halfword from a:hl, and return it in hl.
-        ; bankswitch to new bank
+	; bankswitch to new bank
 	ld [$ff00+$8b], a
 	ld a, [$ff00+$9d]
 	push af
@@ -91,12 +91,12 @@
 	ld a, [$ff00+$8b]
 	rst $10
 
-        ; get halfword from new bank, put it in hl
+	; get halfword from new bank, put it in hl
 	ld a, [hli]
 	ld h, [hl]
 	ld l, a
 
-        ; bankswitch to previous bank and return
+	; bankswitch to previous bank and return
 	pop af
 	rst $10
 	ret