Advertisement
GoGoJJTech

sm_pokemon

Feb 13th, 2015
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ARM 0.68 KB | None | 0 0
  1. sm_pokemon:             @ DATA XREF: ROM:sm_itemso
  2.         PUSH    {LR}
  3.         LDR R0, off_806F460
  4.         LDRB    R1, [R0,#7]
  5.         MOV R0, #0x80 @ '�'
  6.         AND R0, R1
  7.         CMP R0, #0
  8.         BEQ loc_806F464
  9.         MOV R0, #0
  10.         B   loc_806F478
  11. @ ---------------------------------------------------------------------------
  12.         .align 2
  13. off_806F460:    .long 0x2037AB8     @ DATA XREF: sm_pokemon+2r
  14. @ ---------------------------------------------------------------------------
  15.  
  16. loc_806F464:                @ CODE XREF: sm_pokemon+Cj
  17.         BL  play_some_sound
  18.         BL  sub_806EF18
  19.         BL  overworld_free_bgmaps
  20.         LDR R0, off_806F47C
  21.         BL  set_callback2
  22.         MOV R0, #1
  23.  
  24. loc_806F478:                @ CODE XREF: sm_pokemon+10j
  25.         POP {R1}
  26.         BX  R1
  27. @ End of function sm_pokemon
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement