[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lojban] Re: Pokemon translation



Holy crap.

On Sunday, July 15, 2012 2:29:14 PM UTC-5, djandus wrote:
The issue was, what I originally thought I could upload quickly is actually very broken up and disjointed.

 So, I figured something out that should help explain both this and what I mean by "let me handle line endings."

For all displayed text in boxes at the bottom, (what I'm broadly calling "dialogue") there are about 4 different line ending types. They vary based on extra instructions of clearing the two lines, merely going to the next line, continuing to a new page, etc. They have very confusing interactions that I'm still getting the hang of.

The terrible part is that these endline characters are written in as references to instructions or characters that are contextually determined. So, the endline character set for the pokedex entries is different from when Professor Oak is talking in the intro is different from when Professor Oak stops you from leaving Pallet Town is different from when you talk to that random stallion in that one place...

yeah. Assembly is awesome.

And while I'm on random assembly tidbits, somepony else disassembled the code I'm working with. They have spent two years on the project, giving everything good variable names and even commenting the code pretty well. The fun part is, whoever did this actually has found some pretty amusing bugs in the code. My favorite comments so far are:

During movement:
; the code below is strange
; it computes whether or not the player did a 180 degree turn, but then overwrites the result
; also, it does a seemingly pointless loop afterwards

During the beginning of a turn in a battle, when it checks for fly/dig status, etc:
; this code is buggy. it's supposed to prevent HP draining moves from working on substitutes.
; since $7b79 overwrites a with either $00 or $01, it never works. 

--
You received this message because you are subscribed to the Google Groups "lojban" group.
To view this discussion on the web visit https://groups.google.com/d/msg/lojban/-/GlYeEEPRZzsJ.
To post to this group, send email to lojban@googlegroups.com.
To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/lojban?hl=en.