Skip to content

Instantly share code, notes, and snippets.

@furai-no-ffff
Last active November 4, 2018 10:23
Show Gist options
  • Save furai-no-ffff/628139b8b6d85552df85be0097886e77 to your computer and use it in GitHub Desktop.
Save furai-no-ffff/628139b8b6d85552df85be0097886e77 to your computer and use it in GitHub Desktop.
投石エフェクト
;; ["ITEM D #02/*"]
A3E4: 83 priority_type 03 ;;
A3E5: FF1A0642 load_gfx_char (X:02),06,42 ;;
A3E9: 31 wait 01 ;; YIELD
A3EA: E104 palette_manip 04 ;;
A3EC: FF004F load_gfx_aux (X:00),4F ;;
A3EF: FF0150 load_gfx_aux (X:01),50 ;;
A3F2: AE00 add_off (+0,-8) ;;
A3F4: BE00 set_off_delta (+0,-8) ;; (Z軸方向の速度=-8)
A3F6: FF22 load_gfx_flag (X:02) ;;
A3F8: E2FF set_priority_h FF ;;
A3FA: 400F times_begin+1 0F ;; (16回繰り返し)
A3FC: 60 advance_rel 00 ;; (到着点に向かって進む)
A3FD: 31 wait 01 ;; YIELD (次のフレーム)
A3FE: C040 add_off_delta (+0,+1) ;; (Z軸方向の速度を+1)
A400: 60 advance_rel 00 ;; (到着点に向かって進む)
A401: 31 wait 01 ;; YIELD (次のフレーム)
A402: F2 times_end ;; (繰り返しここまで)
A403: D2 zero_off_delta ;;
A404: F9120404 spawn 12,04,04 ;;
A408: F9120405 spawn 12,04,05 ;;
A40C: F9120406 spawn 12,04,06 ;;
A410: F9120407 spawn 12,04,07 ;;
A414: 31 wait 01 ;; YIELD
A415: F4 concurrent_1 ;;
A416: F1 exit_hide ;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment