Skip to content

Instantly share code, notes, and snippets.

@drojf
Last active March 17, 2019 01:31
Show Gist options
  • Save drojf/9a589efddb9a8b3308b67581c260dc2a to your computer and use it in GitHub Desktop.
Save drojf/9a589efddb9a8b3308b67581c260dc2a to your computer and use it in GitHub Desktop.
*ld
getparam %witchh1,$witchh2,%witchh3 ;Position (l left, c center, r right), standing picture, effect
gosub *ld_inner
mov $witchh15,$witchh12
mov %witchh16,%witchh3
if %hide_new_sprites = 1 mov $witchh15,":r;bmp\placeholder.png" : mov %witchh16,1
;左の画像が前に来るようにする。
notif %witchh1 = l jumpf
_ld l,$witchh15,%witchh3 : mov $last_l, $witchh2
~
if %witchh1 = c _ld c,$witchh15,%witchh16 : mov $last_c, $witchh2
if %witchh1 = r _ld r,$witchh15,%witchh16 : mov $last_r, $witchh2
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment