mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
commit
7d458509d3
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -25,6 +25,9 @@ baserom.sav
|
|||
pokered.sgm
|
||||
pokered.sav
|
||||
|
||||
baserom.sys
|
||||
pokered.sys
|
||||
|
||||
# for vim configuration
|
||||
# url: http://www.vim.org/scripts/script.php?script_id=441
|
||||
.lvimrc
|
||||
|
|
|
@ -203,6 +203,7 @@ W_RLEBYTECOUNTER EQU $CCD2
|
|||
W_PLAYERSUBSITUTEHP EQU $CCD7
|
||||
W_ENEMYSUBSITUTEHP EQU $CCD8
|
||||
|
||||
W_MOVEMENUTYPE EQU $CCDB ; 0=regular, 1=mimic, 2=above message box (relearn, heal pp..)
|
||||
W_PLAYERSELECTEDMOVE EQU $CCDC
|
||||
W_ENEMYSELECTEDMOVE EQU $CCDD
|
||||
|
||||
|
@ -356,6 +357,7 @@ W_BATTLETYPE EQU $D05A ; in normal battle, this is 0
|
|||
; in safari battle, this is 2
|
||||
|
||||
W_LONEATTACKNO EQU $D05C ; which entry in LoneAttacks to use
|
||||
W_GYMLEADERNO EQU $D05C ; it's actually the same thing as ^
|
||||
W_TRAINERNO EQU $D05D ; which instance of [youngster, lass, etc] is this?
|
||||
|
||||
W_MOVEMISSED EQU $D05F
|
||||
|
|
8
extras/generate_sys.py
Normal file
8
extras/generate_sys.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
import json
|
||||
|
||||
import analyze_incbins
|
||||
analyze_incbins.scan_for_predefined_labels()
|
||||
|
||||
with open('../pokered.sym', 'w') as sym:
|
||||
for label in json.load(open('labels.json')):
|
||||
sym.write('{0:x}:{1} {2}\n'.format(label['bank_id'], label['local_pointer'][1:], label['label']))
|
Loading…
Reference in a new issue