summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-11-10 22:49:19 -0600
committerBryan Bishop <kanzure@gmail.com>2013-11-10 22:49:19 -0600
commit44ef6852f4d24f075ae58373d329e681151ccb62 (patch)
tree8519e66a64daea4ba2c705615f510fbb6fce024a
parent0729ed3554f3d79bd59b626c82ccedb88b063860 (diff)
remove old functions
-rw-r--r--pokemontools/vba/vba.py16
1 files changed, 1 insertions, 15 deletions
diff --git a/pokemontools/vba/vba.py b/pokemontools/vba/vba.py
index a564ac2..3e3d66d 100644
--- a/pokemontools/vba/vba.py
+++ b/pokemontools/vba/vba.py
@@ -1113,15 +1113,12 @@ class crystal(object):
RockSmashBattleScript_address = 0x97cf9
self.call_script(RockSmashBattleScript_address)
- #def attempt_start_battle_by_startbattle(self):
- # StartBattle_address = 0x3f4c1
- # self.call(calculate_address(StartBattle_address), bank=calculate_bank(StartBattle_address))
-
#def attempt_start_random_battle_by_wild_battle(self):
# start_wild_battle = 0x3f4dd
# #self.call(start_wild_battle)
# #self.vba.registers["pc"] = ...
+ # why is this here?
def old_crap(self):
CallScript_address = 0x261f
RockSmashBattleScript_address = 0x97cf9
@@ -1132,14 +1129,3 @@ class crystal(object):
ScriptPos = 0xd43a
start_wild_battle = 0x3f4dd
script = 0x1a1dc6
-
- #self.call(StartBattle_address)
- #self.call(RockSmashEncounter_address)
-
- #self.push_stack([self.registers.pc])
- #self.set_script(script)
- #memory[ScriptRunning] = 0xff
-
- #self.call(start_wild_battle)
-
- #self.vba.memory = memory