User Tag List

Results 1 to 3 of 3

Thread: Subscreen Graphical Bugs Related to Game->Generic[GEN_MAGICDRAINRATE]

  1. #1
    The Timelord
    QDB Manager
    ZC Developer

    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,396
    Mentioned
    112 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,763
    Level
    21
    vBActivity - Bars
    Lv. Percent
    69.34%

    Sick Bug Subscreen Graphical Bugs Related to Game->Generic[GEN_MAGICDRAINRATE]

    Reported by Lejes:

    Bug: magic drain rate other than 2 (not just 1) causes half magic icon to appear on subscreen

    Other bug: 0 magic drain rate causes all magic gauge pieces to appear filled, regardless of actual MP


    Test script I made if you want to look at it more yourself.

    Code:
    ffc script MagicDivisor
    {
     void run()
     {
      while (true)
      {
       if (Link->PressEx1)
       {
        Game->Generic[GEN_MAGICDRAINRATE] = (Game->Generic[GEN_MAGICDRAINRATE] + 1) % 8;
       }
       if (Link->PressEx2)
       {
        Link->MP = Link->MaxMP;
       }
       if (Link->PressEx3)
       {
        Game->Generic[GEN_MAGICDRAINRATE] = 0.5;
       }
       Screen->DrawInteger(6, 0, 0, FONT_Z1, 0x01, 0x07, 0, 0, Game->Generic[GEN_MAGICDRAINRATE], 1, OP_OPAQUE);
       Screen->DrawInteger(6, 0, 8, FONT_Z1, 0x01, 0x07, 0, 0, Link->MP, 0, OP_OPAQUE);
       Waitframe();
      }
     }
    }
    10/30/2016 3:54:31 AM Lejes Rimul

  2. #2
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,433
    Level
    24
    vBActivity - Bars
    Lv. Percent
    70.1%
    Not sure that was ever really meant to work, but it mostly does, so whatever, I guess. Fixed.
    It's an integer, so 0.5 still isn't going to work.

  3. #3
    The Timelord
    QDB Manager
    ZC Developer

    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,396
    Mentioned
    112 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,763
    Level
    21
    vBActivity - Bars
    Lv. Percent
    69.34%
    Quote Originally Posted by Saffith View Post
    Not sure that was ever really meant to work, but it mostly does, so whatever, I guess. Fixed.
    It's an integer, so 0.5 still isn't going to work.
    He might have done that to show it rounding to 0? I have no idea.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social