rtoss

Subversion Repositories:
Compare Path: Rev
With Path: Rev
/PokemonHackSourceCode/ @ 295  →  /PokemonHackSourceCode/ @ 296
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/PokemonHackSourceCode/PokemonMemHack/PokemonMemHack.aps
/PokemonHackSourceCode/PokemonMemHack/PokemonMemHack.rc
@@ -173,7 +173,8 @@
EDITTEXT IDC_BB_SATK,156,126,30,13,ES_AUTOHSCROLL
LTEXT "ÌØ·À",IDC_STATIC,192,114,30,10
EDITTEXT IDC_BB_SDEF,192,126,30,13,ES_AUTOHSCROLL
PUSHBUTTON "×î´ó",IDC_BB_MAX,228,108,33,14
PUSHBUTTON "85",IDC_BB_85,213,108,21,14
PUSHBUTTON "×î´ó",IDC_BB_MAX,235,108,26,14
EDITTEXT IDC_BB_SUM,228,126,30,14,ES_AUTOHSCROLL | ES_READONLY
GROUPBOX "÷ÈÁ¦Öµ",IDC_STATIC,6,162,258,42
LTEXT "˧Æø",IDC_STATIC,12,174,17,10
/PokemonHackSourceCode/PokemonMemHack/MemPmAbilityPage.h
@@ -30,6 +30,7 @@
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Ö§³Ö
afx_msg void OnBnClickedIndvMax();
afx_msg void OnBnClickedBbMax();
afx_msg void OnBnClickedBb85();
afx_msg void OnBnClickedApMax();
DECLARE_MESSAGE_MAP()
};
/PokemonHackSourceCode/PokemonMemHack/MemPmAbilityPage.cpp
@@ -34,6 +34,7 @@
 
BEGIN_MESSAGE_MAP(CMemPmAbilityPage, CMemPmTabPage)
ON_BN_CLICKED(IDC_INDV_MAX, OnBnClickedIndvMax)
ON_BN_CLICKED(IDC_BB_85, OnBnClickedBb85)
ON_BN_CLICKED(IDC_BB_MAX, OnBnClickedBbMax)
ON_BN_CLICKED(IDC_AP_MAX, OnBnClickedApMax)
ON_CONTROL_RANGE(EN_CHANGE, IDC_BB_HP, IDC_BB_SDEF, GetBB)
@@ -126,6 +127,21 @@
}
}
 
void CMemPmAbilityPage::OnBnClickedBb85()
{
BYTE bIndex;
CString szText;
 
if(m_ppc)
{
szText = _T("85");
for(bIndex = 0; bIndex < 6; ++bIndex)
{
SetDlgItemText(IDC_BB_HP + bIndex, szText);
}
}
}
 
void CMemPmAbilityPage::OnBnClickedBbMax()
{
if(m_ppc)
/PokemonHackSourceCode/PokemonMemHack/resource.h
@@ -55,6 +55,7 @@
#define IDC_BB_SDEF 1125
#define IDC_BB_MAX 1130
#define IDC_BB_SUM 1131
#define IDC_BB_85 1132
#define IDC_AP_COOL 1140
#define IDC_AP_BEAUTIFUL 1141
#define IDC_AP_CUTE 1142