Advertisement
NewDenverCity

bsp for phantom force

Dec 31st, 2015
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. #dynamic 0x(your offset here)
  2. //incomplete, as the callasm is in the wrong place
  3.  
  4. #org @start
  5. jumpifsecondarystatus BANK_USER 0x1000 0x81D7D4F
  6. jumpifword B_& 0x2023DD0 0x200 0x81D7D4F
  7. jumpifhalfword B_= 0x2023D4A MOVE_FLY 0x81D7D3E
  8. jumpifhalfword B_= 0x2023D4A MOVE_DIVE 0x81D7D33
  9. jumpifhalfword B_= 0x2023D4A MOVE_BOUNCE 0x81D7D28
  10. jumpifhalfword B_= 0x2023D4A 0x(move id of shadow force) @force
  11. jumpifhalfword B_= 0x2023D4A 0x(move id of phantom force) @force
  12. setbyte 0x2023FD3 0x5
  13. goto 0x81D7D44
  14.  
  15. #org @force
  16. setbyte 0x02023FD3 0x6 //effect of move, showing the enemy
  17. //that this is dive, can be hit by
  18. //surf or whirlpool.
  19. call 0x081D6F58 //prints the string, does the hiding animation,
  20. //sets effect 0x4C on the target(research needed),
  21. //copies the effect of to set and pastes it at 0x02023FD3
  22. hidepreattack //makes the user unhittable? the setbyte above may
  23. //be necessary as well.
  24. goto 0x081D694E //ends the script like normal, but doesn't do 'unhidepostattack'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement