Conversation Between Blah and karatekid552
Showing Visitor Messages 661 to 675 of 683
-
January 29th, 2013 5:39 PMBlahYou know what I mean when I say setflag 0x32 lol. I mean is there an equivalent statement to : Setvar 0xVariable 0x32 with flags.
-
January 29th, 2013 5:36 PMkaratekid552I was jokeing...
-
January 29th, 2013 5:35 PMkaratekid552Set flag 0x32 will just set flag #32-_-. It's okay:). Also, I think it depends on the processor. It appears that a boolean value is just a variable that you choose to only turn on and off in most languages. Doesn't actually mean it will crash if set to something else. However, I know that vaiables take at least two bytes, why would flags? That would mean that they would have to be stored somewhere else and there is plenty of room.
-
January 29th, 2013 5:32 PMBlahI'm not making fun of him :O
I'm saying that he's mixing languages on top of his script not being rational. Hence he's not gonna be easy to help. Also he's probably inserting it wrong too, I just tested the script I told him to use and it works. -
January 29th, 2013 5:29 PMBlahI don't think that you can set a flag to a value outside of the 0x0,0x1. I mean can I say setflag 0x32, maybe not in a script but in a hex editor ? Theoretically if it were like that, you can use ASM to check using the cmp r0,r1. You should have a game crash if it didn't work, runtime error at the very start.
Plus, I don't think it's possible since they're two different datatypes (actually probably both integers lol). -
January 29th, 2013 5:27 PMkaratekid552Don't make fun if him... He's still learning.
-
January 29th, 2013 5:25 PMBlahlol, I do that too sometimes.
The guy in the script thread is mixing up like 6 scripting languages, things are interesting there :) -
January 29th, 2013 5:20 PMkaratekid552Wow, I must have skipped the 2nd paragraph of your post:/ lol
-
January 29th, 2013 5:18 PMkaratekid552From what I've learned in my short period in programming (i'm learning c and visula basic right now) flags and variables are the same thing. My C book says "Variables used in such a manner [either set to on or off] are generally reffered to as Boolean variables, or simply flags." The only way Tajaros' answer makes sense is if flags are just the vars in the 3000's. I know where the 8000's vars are stored but I can't seem to trace back to the 4000's using math. The temp vars must be stored in a different place. Hopefully I'll get a chance to inquire where he learned that tidbit.
-
January 29th, 2013 5:10 PMBlahI think he's wrong, variables should not conflict with flags. Variables and flags are independant aren't they? Flags are booleans and variables are integers,strings and booleans.
What you can do to 100% check is to find out where the flags are kept and then find out where the variables are kept. Should be at different locations, I mean since temporary variables are stored at separately from non-temporary. I'm sure flags are stored separate from normal variables.
I'm not 100% certain though. This is the first time I've heard of something like that, and it doesn't sound logical since FireRed uses a variables in the 4000s for their scripts (also aren't most of the 4000s temporary? I see them being used randomly, and to be honest quite pointlessly in FireRed scripts. -
January 29th, 2013 4:56 PMkaratekid552That's a good idea. Do you remember how tajaros said that flags in the 1000's mess up vars in the 4000's? I ran some tests and flags 1000 and 1001 have no effect whatsoever on the value stored in var 4000. This confuses me. I tried to contact him, but he hasn't been on since morning. What do you think?
-
January 29th, 2013 4:51 PMBlahYeah, I've look at some of those. I haven't really experimented much though, I'm still trying to figure out some more things on scripting before I move on.
-
January 29th, 2013 4:43 PMkaratekid552Yeah, I'm about the same. If you download JPAN's engine, he has all of the routines in source files and it might do some good to try and break them down.
I don't know either. -
January 29th, 2013 4:16 PMBlahI know how to assemble and write. When I say read, I mean write ASM to read certain things (right now only Pokemon's current HP, Trainer detail and other related things).
I'm being payed only 3 figures because they figured out I enjoy my job. I don't know how they even got that idea. -
January 29th, 2013 3:55 PMkaratekid552I can play around with it and I know the basics. Not much though. You know how to assemble and write it though, right?
Also, why are you only being paid three figures to pose as a 9 year old? That seems a little low for a man of your talents.

