a broken attempt at starting random battles

This commit is contained in:
Bryan Bishop
2013-11-02 23:12:14 -05:00
parent 0d4f9340b0
commit a9a9568d14

View File

@@ -609,6 +609,11 @@ class crystal(object):
self.text_wait()
loop_limit -= 1
def broken_start_random_battle(self):
self.push_stack([self.registers.pc])
self.registers["pc"] = address % 0x4000
self.call(address / 0x4000, address % 0x4000)
def broken_start_battle(self):
# go to a map with wildmons
self.warp(0x1, 0xc, 6, 8)