Lesson 3:  Interests & Skill Bar

Additional Interests

The above is important but there is some information in some of the other statements that we must make note of; so let's continue with explanations. Look at your printouts.

Travel, #5 says: Local Variable 2 Assign To: Constant 4101:1, and

60's, #31 says: Local Variable 2 Assign To: Constant 4101: 2

Right away we see that data for each is being stored in different containers (the Constants). This means we're going to need to add Constants to our object for storage. And these are quite different from the Constants 4097 we talked about earlier.

Travel, #10 says: Local Variable 1x= Constant 4101:3, and

60's, #36 says: Local Variable 1x= Constant 4101:4

Again, no difference in the data being passed, but they are being stored in separate Constants. So far we know we need to create 2 Constants for each of the new routines we're going add (Music and Politics).

Travel, #16 says: Local Variable 0 x= Constant 4101:5, and

60's, #42 says: Local Variable 0 x= Constant 4101:6

All total, we need 3 new Constants for each Interest adding routine. We will need 3 new ones for Music and another 3 new ones for Politics. Write this down:

For Music we'll need to add 4101:7, 4101:9, and 4101:11

For Politics we'll need to add 4101:8, 4101:10, and 4101:12

So far so good? Let's continue.

Travel, #28 is our dialog messages, and it says: Dialog (message: id#0, icon: automatic) (Title: id#1)

60's, #54 says: Dialog (message: id#2, icon: automatic) (Title: id#1)

This means that both dialog boxes are using the same title (id#1 "Congratulations!), but each is pulling display information from different message ID's (#0 for Travel and #2 for 60's). We'll need to create new ID numbers for our Music and Politics interests.