< >
Hello, guest! Please log in or register.

The PokéCommunity

Go Back     The PokéCommunity Forums > Members List Mateo's Profile

Notices

Mateo Mateo is online now

Johto Region Champion

Visitor Messages

Showing Visitor Messages 46 to 60 of 602
  1. Fotomac
    4 Weeks Ago 5:54 PM
    Fotomac
    Regarding the Brock rematch in my hack... how do I set it so Brock, after you beat him in that specific rematch, gives you the Helix Fossil if you chose the Dome Fossil earlier and vice versa?
  2. TyHawk4501
    4 Weeks Ago 2:11 PM
    TyHawk4501
    Anytime!
  3. TyHawk4501
    4 Weeks Ago 1:52 PM
    TyHawk4501
    Awesome! I'm pretty good too I mentioned you on my recent status update on Romhack.me
  4. TyHawk4501
    4 Weeks Ago 1:45 PM
    TyHawk4501
    Hey Mateo! How are you today?
  5. Crystal_
    4 Weeks Ago 4:28 AM
    Crystal_
    assuming only items pass thru that portion of code it should be fine
  6. Crystal_
    4 Weeks Ago 2:29 AM
    Crystal_
    You'd be running into similar kind of issues because as you haven't clicked USE yet, the value of wNameListType is unknown, not necessarily 2. If you boot up a TM/HM, then immediately a second one, when GetName is called, MOVE_NAME will contain 2, and the second TM/HM won't get caught as an item.

    The other suggestion with a flag should work. If you're having trouble with space, export some code from bank 0 to another place. Or even easier, there is this unreferenced function that you can remove (https://github.com/pret/pokered/blob.../home.asm#L259)
  7. TyHawk4501
    4 Weeks Ago 6:05 PM
    TyHawk4501
    Anytime! Cool thanks
  8. TyHawk4501
    4 Weeks Ago 5:38 PM
    TyHawk4501
    Awesome! I'm pretty good too! Things are alright with me and for my projects, there doing great! I've put up a new video on my Channel. Also, I saw your game Red++ has an award for HOTY in the Sideshow Case, Congrats! I'm happy for you
  9. Crystal_
    4 Weeks Ago 5:28 PM
    Crystal_
    between lines 1506 and 1507 set the flag if wcf91 or register a contains a TM/HM id. then clear it inside the getname function when you check it
  10. Crystal_
    4 Weeks Ago 5:19 PM
    Crystal_
    Should work. If the caller is a TM/HM (I believe you can check wcf91 to get the item id but make sure first), then set the flag. Maybe when put in context it requires to do something else, but the principle works. I've relied in that kind of set/check/reset flag desing like there's no tomorrow in my double battle engine.

    That being said:

    ld a, [wExtraFlags]
    bit 4, a
    res 4, a

    should be

    ld hl, wExtraFlags
    bit 4, [hl]
    res 4, [hl]

    in order to clear it from ram.

    edit: im going to bed now, if you post anything ill see it tomorrow
  11. Crystal_
    4 Weeks Ago 4:30 PM
    Crystal_
    I figured it out.

    As a result of your GetName hack, Red++ checks the wNameListType address during the period between when you click on the TM item name and when you click "USE". Original Pokemon Red/blue however, does not.

    In original R/B, the value in wNameListType is only refreshed (written to) when you click "USE". If you use a TM/HM, MOVE_NAME (2) is written to wNameListType in order to print the move's actual name, and then the value remains that way until you click "USE" again. This means that wNameListType is not supposed to contain a known value until you actually click on USE. In other words, you're not supposed to rely on the value wNameListType contains during the GetName call because it contains an undefined value based on a previous action.
  12. Crystal_
    4 Weeks Ago 4:02 PM
    Crystal_
    I started a new game in vba as well and it also contained 00.

    Here is the proof (both are red++): http://imgur.com/p56qyKT Value to look at is D0B9 which is wNameListType in your hack.
  13. Crystal_
    4 Weeks Ago 3:59 PM
    Crystal_
    Okay I think I've finally managed to get by brain working again. What it's happening is that:
    - In red++, if I boot up a TM/HM, when GetName is called, wNameListType contains 0.
    - In clean red, if I boot up a TM/HM, when GetName is called, wNameListType contains 4.

    However, I just started a new game in BGB real quick and did the same only to notice that wNameListType contained 4. So either it only has the wrong value sometimes or it's an emulator thing.
  14. Crystal_
    4 Weeks Ago 3:41 PM
    Crystal_
    ah no, nevermind, the version of the hack i got is the older one. im just very confused lol
  15. Crystal_
    4 Weeks Ago 3:39 PM
    Crystal_
    lol, so then the bug I've indentified in GetName is just a bug you accidentally introduced 4 hours ago then? Because the real bug could be completely unrelated to this (and chances are, it is, since the way you had GetName 4 hours ago looks good).

About Me

  • About Mateo
    Biography
    Hey guys, I'm Mateo. I was the co-founder of the Skeetendo Inc. Hacking Group (before it was a community, when it was just me and Pyro). I'm still a huge fan of Gen II, and so I still enjoy playing and hacking those games. I'm currently working on a "Johto Legacy" series that continues the story of G/S/C that consists of the "Pokémon Christmas" hack, and an upcoming prequel called "Pokémon Spirits and Legends" (that currently has no thread here).
    Interests
    Rom Hacking, Internetting, Cooking, The Sims 2, Music, Random things, Etc.
    Location
    Willow Creek, Sims 4
    Occupation
    Romhacker
    Nature
    Quiet
    Also Known As
    Luna
    Favorite Pokémon
    Lugia, Mewtwo, Zigzagoon, Eevee, Espeon, Umbreon, Suicune, Charmander
    Twitter
    RomhackerMateo
  • Signature
    mateo.





    "I'm gonna, uh, demonstrate the hot moves..." - Flannery

Statistics

Total Posts
Activity by Forum
Visitor Messages
Blog
General Information
  • Last Activity: 20 Minutes Ago 9:11 AM
  • Join Date: June 8th, 2005
  • Referrals: 10

Friends

Showing Friends 1 to 20 of 54

  All times are GMT -8. The time now is 9:32 AM.


Contact Us Archive Privacy Statement Terms of Service Top