summaryrefslogtreecommitdiff
path: root/engine/debug/test_battle.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-15 13:35:39 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-15 13:35:39 -0400
commit4b4ad9894eb165de673346348493e02d83549746 (patch)
tree20c078b267b5b35055f30e64e726931e63031166 /engine/debug/test_battle.asm
parent87f24a885d888411d715171d75163bd59a609b41 (diff)
Disassemble the BLUEMONS.GB debug ROM
Diffstat (limited to 'engine/debug/test_battle.asm')
-rw-r--r--engine/debug/test_battle.asm45
1 files changed, 0 insertions, 45 deletions
diff --git a/engine/debug/test_battle.asm b/engine/debug/test_battle.asm
deleted file mode 100644
index 01b9825e..00000000
--- a/engine/debug/test_battle.asm
+++ /dev/null
@@ -1,45 +0,0 @@
-TestBattle:
- ret
-
-.loop
- call GBPalNormal
-
- ; Don't mess around
- ; with obedience.
- ld a, 1 << BIT_EARTHBADGE
- ld [wObtainedBadges], a
-
- ld hl, wFlags_D733
- set BIT_TEST_BATTLE, [hl]
-
- ; Reset the party.
- ld hl, wPartyCount
- xor a
- ld [hli], a
- dec a
- ld [hl], a
-
- ; Give the player a
- ; level 20 Rhydon.
- ld a, RHYDON
- ld [wcf91], a
- ld a, 20
- ld [wCurEnemyLVL], a
- xor a
- ld [wMonDataLocation], a
- ld [wCurMap], a
- call AddPartyMon
-
- ; Fight against a
- ; level 20 Rhydon.
- ld a, RHYDON
- ld [wCurOpponent], a
-
- predef InitOpponent
-
- ; When the battle ends,
- ; do it all again.
- ld a, 1
- ld [wUpdateSpritesEnabled], a
- ldh [hAutoBGTransferEnabled], a
- jr .loop