diff options
Diffstat (limited to 'home/mon_data_2.asm')
-rw-r--r-- | home/mon_data_2.asm | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/home/mon_data_2.asm b/home/mon_data_2.asm deleted file mode 100644 index 99169eaa8..000000000 --- a/home/mon_data_2.asm +++ /dev/null @@ -1,34 +0,0 @@ -GetPartyParamLocation:: -; Get the location of parameter a from wCurPartyMon in hl - push bc - ld hl, wPartyMons - ld c, a - ld b, 0 - add hl, bc - ld a, [wCurPartyMon] - call GetPartyLocation - pop bc - ret - -GetPartyLocation:: -; Add the length of a PartyMon struct to hl a times. - ld bc, PARTYMON_STRUCT_LENGTH - jp AddNTimes - -Unreferenced_GetDexNumber:: -; Probably used in gen 1 to convert index number to dex number -; Not required in gen 2 because index number == dex number - push hl - ld a, b - dec a - ld b, 0 - add hl, bc - ld hl, BaseData + BASE_DEX_NO - ld bc, BASE_DATA_SIZE - call AddNTimes - ld a, BANK(BaseData) - call GetFarHalfword - ld b, l - ld c, h - pop hl - ret |