Moon tile plays different music

Completed patches for Keen5.
Post Reply
User avatar
szemigi
Posts: 716
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Moon tile plays different music

Post by szemigi »

This is a modification to Levellass' patch that originally lets play a certain song while an item is got: https://keenwiki.shikadi.net/wiki/Patch ... tem_is_got


Now, in my modified patch when the moon tile is touched by the player, a different music played.
Keep in mind that as a suggestion, use it as a two-frame animation using Galactile or other tileinfo editor programs to add a much bigger animation delay value (for example like 128 or 200) for the no special property and small value (i'm using 1 unit) for the mooning property. Or otherwise the newly played song will stuck, resulting continous 'rubbing' sound if either touching or standing at/on the mooning tile.

Code: Select all

#Moon tile plays different music
%patch $C50B $C7 $06 $C17BW $0001W $90 $90 $90 $90 $90 $90 $90 $90 $90
%patch $C551 $E9 $FEFDW
%patch $C53B $E9 $FF19W
%patch $C3FC $55 $8B $EC $83 $EC $0C $56 $57 $8B $76 $06 $83 $3E $C17BW  $01
             $75 $0C $B8 $0000W  $50 $9A $06B92083RL     $83 $C4 $02 $8B $5C $2E $D1 $E3 $8B $87 $87
             $BF $D1 $E8 $E0D1W  $8B $16 $51 $9E $8B $5C $2C $D1 $E3 $03 $C3
             $89 $56 $FC $89 $46 $FA $8B $44 $30 $2B $44 $2C $40 $8B $16 $4C
             $9E $2B $D0 $89 $56 $F8 $8B $44 $2E $89 $46 $FE $E9 $00FBW  $8B
             $7C $2C $E9 $00E2W  $C4 $5E $FA $26 $8B $1F $8E $06 $61 $BF $26
             $8A $87 $0A $47 $B4 $00 $25 $7F $00 $89 $46 $F6 $0B $C0 $74 $16
             $8B $5E $F6 $83 $EB $03 $83 $FB $19 $77 $0B
%patch $8C7D $75 $08  $C7 $06 $C17BW  $0000W  $EB $68 $FF $06 $C17BW  $83 $3E
             $C17BW  $00 $75 $06 $C7 $06 $C17BW  $0001W  $EB $18
%patch $8CC3 $5F $5E $8B $E5 $5D $CB
Post Reply