diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-02-03 21:34:56 -0500 |
---|---|---|
committer | YamaArashi <YamaArashi@users.noreply.github.com> | 2017-02-03 18:34:56 -0800 |
commit | 689df5cff8386d85f1f1da1fc332db18d282f928 (patch) | |
tree | 0c8b3264268315422064aa8960c0007f5f5d9341 /asm/mystery_event_script.s | |
parent | e2b834d21d96332c5bcf788b390a09e285c7a5cb (diff) |
finish decompiling battle_ai.c (#16)
* partially decompile battle_ai.c up to tai60_unk
* nonmatching tai60_unk
* decompile more of battle_ai.c
* formatting
* finish porting battle_ai.c
* formatting
Diffstat (limited to 'asm/mystery_event_script.s')
-rw-r--r-- | asm/mystery_event_script.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asm/mystery_event_script.s b/asm/mystery_event_script.s index 4b97d6ae8..2430cd87c 100644 --- a/asm/mystery_event_script.s +++ b/asm/mystery_event_script.s @@ -661,7 +661,7 @@ sub_8153CC8: @ 8153CC8 bl memcpy adds r0, r4, 0 movs r1, 0x41 - bl pokemon_getattr + bl GetMonData lsls r0, 16 lsrs r4, r0, 16 movs r0, 0xCE @@ -718,7 +718,7 @@ _08153D4C: _08153D86: adds r0, r7, 0 movs r1, 0xC - bl pokemon_getattr + bl GetMonData lsls r0, 16 lsrs r0, 16 bl itemid_is_mail |