diff options
author | yenatch <yenatch@gmail.com> | 2013-05-01 13:29:45 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2013-05-01 13:29:45 -0400 |
commit | d4fe2c9953027e1d459bbe4b4fe4c5131c10aa1a (patch) | |
tree | fcec8a236d620242d97a032b8c87b25f4ea63943 /maps/BattleTowerHallway.asm | |
parent | 92863b3446fce6fd1ee46574177d816aac428f89 (diff) |
remove incbins in BattleTower
Diffstat (limited to 'maps/BattleTowerHallway.asm')
-rw-r--r-- | maps/BattleTowerHallway.asm | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/maps/BattleTowerHallway.asm b/maps/BattleTowerHallway.asm index 172e5f0f7..dd74470a7 100644 --- a/maps/BattleTowerHallway.asm +++ b/maps/BattleTowerHallway.asm @@ -21,11 +21,25 @@ UnknownScript_0x9f5c0: ; 0x9f5c0 UnknownScript_0x9f5c1: ; 0x9f5c1 follow $2, $0 - 3callasm $27, $75cb + 3callasm BANK(Function_0x9f5cb), Function_0x9f5cb 2jump UnknownScript_0x9f5dc ; 0x9f5cb -INCBIN "baserom.gbc",$9f5cb,$9f5dc - $9f5cb + +Function_0x9f5cb: ; 0x9f5cb + ld a, [rSVBK] + push af + + ld a, 3 + ld [rSVBK], a + ld a, [$d800] + ld [ScriptVar], a + + pop af + ld [rSVBK], a + ret +; 0x9f5dc + UnknownScript_0x9f5dc: ; 0x9f5dc if_equal $3, UnknownScript_0x9f603 |