mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-04-24 23:27:03 -05:00
Merge pull request #122 from yenatch/master
vba config shouldn't need fiddling out of the box original-commit-id: 36a0acbde17ede24152840257e8f12918cd9c6b6
This commit is contained in:
commit
68c2b09745
2
vba.py
2
vba.py
|
|
@ -175,7 +175,7 @@ def button_combiner(buttons):
|
|||
for each in buttons:
|
||||
result |= button_masks[each]
|
||||
|
||||
print "button: " + str(result)
|
||||
#print "button: " + str(result)
|
||||
return result
|
||||
|
||||
def load_rom(path=None):
|
||||
|
|
|
|||
|
|
@ -2,13 +2,10 @@
|
|||
# -*- encoding: utf-8 -*-
|
||||
import os
|
||||
|
||||
# by default we assume the user has things in their $HOME
|
||||
home = os.path.expanduser("~") # or System.getProperty("user.home")
|
||||
# by default we assume the user has vba in pokecrystal/extras
|
||||
project_path = os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..'))
|
||||
|
||||
# and that the pokecrystal project folder is in there somewhere
|
||||
project_path = os.path.join(home, os.path.join("code", "pokecrystal"))
|
||||
|
||||
# save states are in ~/code/pokecrystal/save-states/
|
||||
# save states are in pokecrystal/save-states/
|
||||
save_state_path = os.path.join(project_path, "save-states")
|
||||
|
||||
# where is your rom?
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user