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,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,cATNFAPMSASUMAGMI """)))UUUMMMBBB999|PP3f333f3333f3ffffff3f̙3ff333f333333333f33333333f33f3ff3f3f3f3333f33̙33333f333333f3333f3ffffff3f33ff3f3f3f3fff3ffffffffff3ffff̙fff3fffff3fff333f3f3ff3ff33f̙̙3̙ff̙̙̙3f̙3f333f3333f3ffffff3f̙3f3f3f333f3333f3ffffff3f̙3f3ffffffffff!___wwwB00 h hpppph`@qxaxaxExpp`xÀI,0Qqqiph0$À$(mq4U444Uep`$IŽqUUuq$pHiÀ0YYYY888 xXDZmu8YY8U444UuuYyyyya`eÀm88Uqq4u8Y4ahÀDZ840Q4uY4aP,UMMIzizzzz {,{M{U<}}<yx8ax0uUQ ,m``E)}}Y $#W 51uO ~% ,;@= /&{m?S 5#P +*S}D 1U4_ Mk"8X )Th{> ){~L3jخvQ) 8WeO1  $&''&"  xAxAxAx㐂pppX$Ү0QqMAxhHÀiUUuUax`〆4YY8u$hu8U488puUQӎ0Ӽ<<$`axMUm)s͞c  `[  q= P2pO-AhppqmEumx4QӮq  7&             dizzy inventory@2&(%' &(%' &(%' &(%' &H&File&New F2Pass&word&Pause Ctrl+PPla&yers Ctrl+Y&Quit Alt+F4&OptionsPlay &samples Ctrl+SPlay &musics Ctrl+M&Hide the menu F8&Full Screen Alt+Enter&Help&Contents F1&About...  P Y S Mpqsw2  txtblt.mfx Text Blitter%YIFFrame 1x{׻kϻ[ǻwwwcccSSSCCC333oSKC;{3k+Ww#G_7K'3 kWCw;k3_+S#C7g+K 3ssccSSGG;;33s++_##K7#ۧϏ{gWG7{+osccW WGK;;//ssKK##kS;#ۻÓoG#gc[WO;/s_K ;CϳÛscSwGg7W+K#ߧϏwwggSWCG3;w'/g#[K ; +ӃkgSK73# o_SC7'{cK7'o _##'#'#'#'##skkSS??ۧןϓLJsgߏ[ӃSsKgCW;K3?+{3#o+_OC3 '{k_OC3' w ??Quick Backdrop ,fffQuick Backdrop 2 Key4Alterable String A A Small Key Movement #1224Poison4Alterable String AA Bottle of Poison Movement #1225Spanner 4 Alterable String A A Man's Penis Movement #1227 Backdrop dizzy 4 Movement #1 & 2222 Movement #2   !"#$%&'() Animation 12 *****+,-,, Animation 13./0/ Animation 14 Animation 15d1 Inventory4currentSelection selectionRGB1 selectionRGB2 Movement #1228 inventory1  Movement #1 Text Blitter txtblt.mfx%YD D Nothingy 1T3 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~  (08@HPX`hpx (08@HPX`hpx (08@HPX`hpx (08@HPX`hpx    ( 0 8 @ H P X ` h p x (((( (((0(8(@(H(P(X(`(h(p(x(((((((((((((((((0000 0(00080@0H0P0X0`0h0p0x000000000000000088 inventory2  Movement #1 Text Blitter txtblt.mfx%YD D Nothingy 2T3 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~  (08@HPX`hpx (08@HPX`hpx (08@HPX`hpx (08@HPX`hpx    ( 0 8 @ H P X ` h p x (((( (((0(8(@(H(P(X(`(h(p(x(((((((((((((((((0000 0(00080@0H0P0X0`0h0p0x000000000000000088  inventory3  Movement #1 Text Blitter txtblt.mfx%YD D nothingy 3T3 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~  (08@HPX`hpx (08@HPX`hpx (08@HPX`hpx (08@HPX`hpx    ( 0 8 @ H P X ` h p x (((( (((0(8(@(H(P(X(`(h(p(x(((((((((((((((((0000 0(00080@0H0P0X0`0h0p0x000000000000000088 inventoryclose  Movement #1 Text Blitter txtblt.mfx%YD D Exit and don't dropT3 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~  (08@HPX`hpx (08@HPX`hpx (08@HPX`hpx (08@HPX`hpx    ( 0 8 @ H P X ` h p x (((( (((0(8(@(H(P(X(`(h(p(x(((((((((((((((((0000 0(00080@0H0P0X0`0h0p0x000000000000000088Key 24Alterable String AA different key Movement #1224Counter Movement #1ɚ;` pppppp p p p p ppppy o/ia 4 H H H%H1EvtsTf ~n&Inventoryh |l%"ArialBoldh Z|l%"Arialh |l%"Arialh |l%"Arial  @*   @*   <  2$  <  2$    @*   @*   <  2$  <  2$    @*   @*   <  2$  <  2$    @*   @*   <   2$  <   2$   X 2@*   X 2@*   6" 2  h |l%"Arial  "Q    H $P   "% h  |l%"Arialh  |l%"Arial    $    "# "# 6 (9Movement #2X   $     "# "# "# .   2 . 1  =- :-pickUp 6 (9Movement #2P  $  $  0  2  * (-pickUpH $.pickUp .   2 0  2  " 2$   (-pickUpH $.pickUp .   2 .  2  . 1 =-  .  2  . 1 =-  .  2  . 1 =-  &-pickUp (-pickUpH $.pickUp .   2 .  2  . 1 =-  .  2  . 1 =-  .  2  . 1 =-  &-pickUpv (-pickUpH $.pickUp .   2 .  2  . 1 =-  .  2  . 1 =-  &-pickUp (-pickUpH $.pickUp .   2 .  2  . 1 =-  h |l%"Arial h |l%"Arial  $  F8 F8 4 &   4 &   4 &   4 &   4 &   4 &   4  &   4  &   , 2 " t @*   @*     $  *`4 &   4 &   4 &   4 &   4 &   4 &   4  &   4  &   h |l%"Arialn  $  $  , 2 h |l%"Ariald  $  .   2 , 2 h |l%"Arialh |l%"Ariall  $  .   2 $ P-  l  $  .   2 $ P-  l   $  .   2 $ P-  h ! |l%"Arial h "!|l%"Arialh #"$  ,! 2 "# h $#$  ,  2 "# h %$|l%"Arial d &% $  .  2 , 2 d '& $  .  2 , 2 h ('|l%"Arialh )(|l%"Arial *) $  $  .  2 .   2 , 2  +* $  $  .  2 .   2 , 2  ,+ $  $  .  2 .   2 , 2 h -,|l%"Arial .- $  $  .  2 .   2 , 2  /. $  $  .  2 .   2 , 2  0/ $  $  .  2 .   2 , 2 h 10|l%"Arial h 21|l%"Arial 32 $  .  2 d  @*   d  @*   d @*    d  @*   d  @*   d  @*   d  @*    43 $  .  2 d @*    d  @*   d  @*   d  @*   d  @*   d  @*   d  @*    54 $  .  2 d @*    d  @*   d  @*   d  @*   d  @*   d  @*   d  @*    65 $  .  2 d @*    d  @*   d  @*   d  @*   d  @*   d  @*   d  @*   h 76|l%"ArialB 87$  .  2 $  :   B 98$  .  2 $  :   B :9$  .  2 $  :   B ;:$  .  2 $  :   B <;$  .  2 $  :   B =<$  .  2 $  :   B >=$  .  2 $  :   B ?>$  .  2 $  :   h @?|l%"Arial( A@.   2 P- BA.   2 P- CB.   2 , P-n o t h i n g P-" t  @*   @*   h DC|l%"Arial h ED|l%"Arial"h FE|l%"Arial'z GF $  $  .  2 0  2  " 2$  .  2  . 1 =-  .  2  . 1 =-  ,  2 * 1 =-"$ 6 (9Movement #1h HG|l%"Arial% IH $  $  .  2 0  2  " 2$  .  2  . 1 =-  ,  2 * 1 =-"$ 6 (9Movement #1h JI|l%"Arial#2 KJ $  $  .  2 0  2  " 2$  ,  2 * 1 =-"$ 6 (9Movement #1h LK|l%"Arial!  ML $  $  .  2 "$ 6 (9Movement #1h NM|l%"Arialh ON|l%"Arial PO$  "$  QP$  "$ h RQ|l%"Arial SR$  "$  TS$  "$  UTVUWVh XW|l%"Arial^YX      Rems!Initial settings, the inventory text blitter objects are set to the normal colour and their relative positions to the inventory graphic are stored in their alterable values.Set the inventory's flag 0 on to get it to pop up in the middle of the screen. And chucking the thing off the screen when you set the flag off.4Auto-cycle when there's nothing on the current spot.PTHIS STUFF HAPPENS WHEN THINGS ARE SELECTED ON THE WINDOW: texts change colour.Cycling through - down.Cycling through - up. 7Auto-cycle when you move straight past the last option. Menu navigation Menu display Menu selectionActivating the inventory. 4Initialising inventory objects when it is activated.fThis event allows the menu to stay open for more than one frame. See inventory initialisation comment.[Automatically switches to the last option on the inventory if you are not holding anything.Menu labellingCounter for flashing selectionDizzy Inventory SystemJust setting the alterable strings of the inventory text blitter objects to their stored strings taken from objects that have been picked up.6Basic inventory navigation by way of PLAYER CONTROL!!!?Resetting the cycling flags after they've served their purpose. Bugfix events!`This event is triggered when you choose the 'drop nothing' option. It just closes the inventory."Finally, the actual option selection part of the menu. You should have actions to re-activate Dizzy's movement and any NPC/background movement on these four events.#OOn this event, the item held in slot 3 is dropped, and the inventory is closed.%On this event, the item held in slot 2 is dropped, any item in slot 3 is moved to slot 2, and slot 3 is cleared. Then the inventory is closed.'On this event, the item held in slot 1 is dropped, any item in slot 2 is moved to slot 1, any item in slot 3 is moved to slot 2, and slot 3 is cleared. Then the inventory is closed.(Hiding the options when some of them can not be seen (because they are holding nothing). If there is nothing in any of the slots, slot 2 is set to show 'n o t h i n g', is coloured white and aligned centre.Specific flashing for current selection. There are SEVERAL of these since I have to check for each possible colour on each selectable object...If you're still using that smelly old detector scrolling code, you should replace it with this. It's far more efficient, and is adaptable to any window size.`Automatically switches to the last option on the inventory if you have just picked something up.For this system to work, you need to: 1. Copy the Inventory-related objects (Inventory object + text blitters + counter) to your main file. Preserve the layout of the graphical inventory objects. They obtain their relative position to the main object at the start of the frame. 2. Copy this 'Inventory' group to your main file. 3. For objects that can be picked up: === Add them to the 'friends' qualifier. === In the frame editor, go to their properties and give each of their alterable string 'A's a short description of the object. ie. "a brown apple." Case insensitive. === Go into their image editor, and set their hotspots to bottom-centre using the quick-position tool on the left. I believe this is fairly simple for such a system!To activate the inventory, the main inventory object's flag 0 is switched on. Additionally, another flag in the inventory object is switched on. This is switched off after the events to activate options on the menu. This stops it from opening and closing the inventory in one frame. At this point, you should disable dizzy's main movement and any movement of NPCs or background objects such as platforms (needs to be on both of the next two events as it stands). You should probably add a condition to see if your dizzy isn't moving or is on the ground to these two events. I'm not certain but I don't think you will want to be able to pick up and drop objects while jumping. Phizzy 2007EvOb KeySpritePoisonSpriteSpannerSpritedizzySprite  Group.FriendsSprite InventorySprite  inventory1TLBT  inventory2TLBT  inventory3TLBT  inventorycloseTLBT Key 2Sprite CounterCounterEvEd   EvTsEvLsEvCs,!DNE!08 ACHK$E6