Thanks for that and the compliments xenon. However, Pokemon Purple is a minimalistic-asm usage game. basically, I have 4 asm programs, one that copies programs from archive to temp programs in ram, one that has multitude of functions, one that converts lists to strings, and one to display the pokemon sprites which required a special hex parser program. Everything else is done in pure BASIC.
Forgot to post here, pokedex purple has been updated on ticalc.org, for those interested in trying out a hopefully bug free version.
I have to go back through all this code, figure out where I am currently using the list 'EVEN' so I can begin revamping the events system for calling and such.

What this will do is allow me to free up the 1400 bytes that the list takes up in RAM in any given time for a program that takes 308 bytes that can be read from archive as an appvar. However, it will take up a bit more space calling and storing to the appvar, but in the long run I think it will be worth it.

So, that's next!
Good stuff, Dan, keep up the good work. I've been running into similar situations with Doors CS where I have no idea how a section of my code works. Very Happy
well, that's not really the problem. The problem is that in order to use the original system that I was going to use, I would have to keep a list out in RAM. the current list is 150 elements long, over 1300 bytes in size. A program with 150 lines, filled with 0s, is only like 500 bytes in size. So I need to rewrite code to look to an appvar to see if an event was triggered or not, which can be read from archive. I only have to pull the appvar into RAM when I want to modify something.

Only downfall is the code to do all that is a little higher than what it would take to read and write a list, but in the end I believe it will be better.
Progress is still on going with the event system code. I was sadly ill most of last week, with some odd form of virus that had given me a massive headache from saturday until thursday, and a flu bug on monday.

Feeling decent enough now, finally getting some progress done with the pokemon shift routine, from when you catch it in the wild. Absorbing it into the party of 6 is complete (on paper, not tested) and I am currently writing the code out to put them in the proper PC box. This code is a bit.. complex, to say the least. I am writing code, that will create a program and write code based on which box number was last successfully uploaded to, and scans it for an open slot. If all slots are full, it moves on to the next pc box and starts the process over again.

So.. I am writing code.. that has to write code as a dynamic program, which calls an asm program to convert a list to a string, and then unarchive the proper pc box appvar, and write the pokemon data to it.

Probably the most complex BASIC/Celtic hybrid code I have written yet.
The above mentioned code has been written completely out on paper and in theory should work the first time.

So I have about 80% of that code dropped into the calculator, once that is complete I will see about doing a backup of the files and starting in on making the pokemon party screen be able to access the pokemon stat screen.
tifreak8x wrote:
The above mentioned code has been written completely out on paper and in theory should work the first time.
Famous last words. Laughing

tifreak8x wrote:
So I have about 80% of that code dropped into the calculator, once that is complete I will see about doing a backup of the files and starting in on making the pokemon party screen be able to access the pokemon stat screen.
Is this a party with caek? Will the companion cube be there? </meme> But seriously, what obstacles stand in the way of that? Will you need to add something to mark the previous context when entering the stat screen so it knows to go back to either the party screen or to something different?
The status screen, if memory serves, only is loaded via the party screen. No, wait, scratch that, it -is- loaded from the pokemon PC, at least in the newer games, I am pretty sure it is the same on the old. But that shouldn't matter, a Return will bring it back to the correct program that called it.

Basically, I just need the status screen to make sure the calculator is seeing and using the correct data from the equations setup. That code has been on the calc for a long time, and has yet to be tested ><
Making some headway with this code for the pokemon party menu. I had found the coe that displays the boxes and such, so all I have to do is redo the code for displaying the names and HP of each. From there I will need to make the boxes selectable, and get the switch and stats options of them all working. I also still need to tie in that code that sends the pokemon you receive to the appropriate place into the 'getting starter' event.

After that, it is the dreaded battle system I will have to start working on ><
Did a little re-arranging inside my subforum here..

Got rid of a few sticky posts, made them normal, moved this pokemon thread to sticky and have made the code (the important one anyways) post a sticky. I will probably do that with all the other code posts I make, which should happen as I have time to add them.

The code posted is located here: http://www.cemetech.net/forum/viewtopic.php?t=4614
tifreak8x wrote:
Did a little re-arranging inside my subforum here..

Got rid of a few sticky posts, made them normal, moved this pokemon thread to sticky and have made the code (the important one anyways) post a sticky. I will probably do that with all the other code posts I make, which should happen as I have time to add them.

The code posted is located here: http://www.cemetech.net/forum/viewtopic.php?t=4614
Nicely done, I need to do something similar in the Doors CS subforum (and in fact in several others). There's a saying somewhere along the lines of a neat and tidy workspace making a neat and tidy mind. Smile
lol, if only. XD

Did you check out the new version of the code you were helping me with? =]
A little bit of progress to post. Now with the code to populate the party menu done, but untested, I have moved the project, or at least this part of the project, over to another 83+ so I can manipulate things as I see fit and not worry about crashing the main project calc. Hope to have something to show soon in a screenshot.
tifreak8x wrote:
A little bit of progress to post. Now with the code to populate the party menu done, but untested, I have moved the project, or at least this part of the project, over to another 83+ so I can manipulate things as I see fit and not worry about crashing the main project calc. Hope to have something to show soon in a screenshot.
Excellent! I look forward to seeing this progress, glad to hear that you're still moving ahead steadily.
Weeeelll~

Was waiting at one of the stores this morning, and decided to try to get some stuff done. Got the code in that would have supposedly displayed the names and very basic stats of each pokemon onto the party menu screen.

It crashed. XD Screen flashed, pressed on and was greeted with a RAM clear. Go me! I really should upgrade the OS on this calc to 1.16.. << It is running 1.17 btw, seemingly unstable for some reason.

ANYWAYS, I had forgotten to create a backup of the programs and lists. No big deal, I have them on my SE, and they are already resent. I just have to go through and re-add the code to the party screen and see about creating a group file on that before I test again. Not sure what caused the problem, hopefully it doesn't happen again though.
ugh crashes always does suck x.x, good thing you do a lot of backups.

And yes I recommend using something else than 1.13 and 1.17. They are the most unstable OSes it seems. Wouldn't OS 1.18 and 19 be a better idea, though? BrandonW always told people to upgrade to the latest version with the exception of 2.53MP for 84 users
I might drop 1.19 on it, but I have 1.16 on both my SEs and they are super stable with all the use I have dealt with them on. But 1.19 will get a shot, just to say I tried it :p
tifreak8x wrote:
I might drop 1.19 on it, but I have 1.16 on both my SEs and they are super stable with all the use I have dealt with them on. But 1.19 will get a shot, just to say I tried it :p
For what it's worth, I use 1.19 for a lot of testing, and I've been quite happy with it. I'm sorry to hear about the crash though, TIFreak8x, and I hope you didn't lose too much. Sad
Nothing major, 15 minutes of coding, basically, another 15 minutes for thinking up how I wanted to change the code to fit my new system of lists and names and such.
  
Page 5 of 25
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement